@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 577 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 FloorPlanIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M10,5V10H9V5H5V13H9V12H10V17H9V14H5V19H12V17H13V19H19V17H21V21H3V3H21V15H19V10H13V15H12V9H19V5H10Z' />
</Svg>
)
FloorPlanIcon.displayName = 'FloorPlanIcon'
FloorPlanIcon.defaultProps = {
size: 24
}
export default FloorPlanIcon