UNPKG

@iconscout/react-unicons

Version:

4,500+ vector icons as easy to use React Components

23 lines (20 loc) 737 B
import React from 'react'; import PropTypes from 'prop-types'; const UilPolygon = ({ color = 'currentColor', size = 24, ...otherProps }) => React.createElement( 'svg', { xmlns: 'http://www.w3.org/2000/svg', width: size, height: size, viewBox: '0 0 24 24', fill: color, ...otherProps }, React.createElement('path', { d: 'M21.87,11.5l-4.5-7.79a1,1,0,0,0-.87-.5h-9a1,1,0,0,0-.87.5L2.13,11.5a1,1,0,0,0,0,1l4.5,7.79a1,1,0,0,0,.87.5h9a1,1,0,0,0,.87-.5l4.5-7.79A1,1,0,0,0,21.87,11.5Zm-6,7.29H8.08L4.15,12,8.08,5.21h7.84L19.85,12Z' }) ); UilPolygon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; export default UilPolygon;