@iconscout/react-unicons-solid
Version:
4,500+ vector solid icons as easy to use React Components
28 lines (24 loc) • 726 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const UisGrids = (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: 'M2,3.9v16.2c0,1,0.9,1.9,1.9,1.9H8V2H3.9C2.9,2,2,2.9,2,3.9z M20.1,2H16v20h4.1c1,0,1.9-0.9,1.9-1.9V3.9C22,2.9,21.1,2,20.1,2z M10,22h4V2h-4V22z'
}));
};
UisGrids.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
UisGrids.defaultProps = {
color: 'currentColor',
size: '24',
};
export default UisGrids;