react-feather
Version:
React component for Feather icons
48 lines (43 loc) • 999 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const Cast = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
{...otherProps}
>
<path
d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"
fill="none"
stroke={color}
strokeLinecap="round"
strokeMiterlimit="10"
strokeWidth="2"
/>
<line
x1="2"
y1="20"
x2="2"
y2="20"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
Cast.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Cast.defaultProps = {
color: 'currentColor',
size: '24',
};
export default Cast;