-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathairplay.js
More file actions
38 lines (34 loc) · 862 Bytes
/
airplay.js
File metadata and controls
38 lines (34 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React from 'react';
import PropTypes from 'prop-types';
const Airplay = props => {
const { children, color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...otherProps}
>
{children}
<path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1" />
<polygon points="12 15 17 21 7 21 12 15" />
</svg>
);
};
Airplay.propTypes = {
children: PropTypes.object,
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Airplay.defaultProps = {
children: null,
color: 'currentColor',
size: '24',
};
export default Airplay;