@iconscout/react-unicons-solid
Version:
4,500+ vector solid icons as easy to use React Components
28 lines (24 loc) • 763 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const UisTriangle = (props) => {
const { color, size, ...otherProps } = props
return 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.9,19.3l-9-15.6c-0.1-0.1-0.2-0.2-0.3-0.3c-0.5-0.3-1.1-0.2-1.4,0.3l-9,15.6C2,19.4,2,19.6,2,19.8c0,0.6,0.4,1,1,1h18c0.2,0,0.3,0,0.5-0.1C22,20.4,22.1,19.8,21.9,19.3z'
}));
};
UisTriangle.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
UisTriangle.defaultProps = {
color: 'currentColor',
size: '24',
};
export default UisTriangle;