@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 664 B
JavaScript
import React from 'react'
import styled from 'styled-components'
import { space, color } from 'styled-system'
const Svg = styled('svg')({ flex: 'none' }, space, color)
const VectorRectangleIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z' />
</Svg>
)
VectorRectangleIcon.displayName = 'VectorRectangleIcon'
VectorRectangleIcon.defaultProps = {
size: 24
}
export default VectorRectangleIcon