UNPKG

react-feather

Version:
36 lines (31 loc) 748 B
import React from 'react'; import PropTypes from 'prop-types'; const Video = props => { const { 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} > <polygon points="23 7 16 12 23 17 23 7" /> <rect x="1" y="5" width="15" height="14" rx="2" ry="2" /> </svg> ); }; Video.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Video.defaultProps = { color: 'currentColor', size: '24', }; export default Video;