UNPKG

react-feather

Version:
36 lines (31 loc) 741 B
import React from 'react'; import PropTypes from 'prop-types'; const Award = 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} > <circle cx="12" cy="8" r="7" /> <polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88" /> </svg> ); }; Award.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Award.defaultProps = { color: 'currentColor', size: '24', }; export default Award;