@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 566 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 WallIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M3,16H12V21H3V16M2,10H8V15H2V10M9,10H15V15H9V10M16,10H22V15H16V10M13,16H21V21H13V16M3,4H11V9H3V4M12,4H21V9H12V4Z' />
</Svg>
)
WallIcon.displayName = 'WallIcon'
WallIcon.defaultProps = {
size: 24
}
export default WallIcon