@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 535 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 StoreIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M12,18H6V14H12M21,14V12L20,7H4L3,12V14H4V20H14V14H18V20H20V14M20,4H4V6H20V4Z' />
</Svg>
)
StoreIcon.displayName = 'StoreIcon'
StoreIcon.defaultProps = {
size: 24
}
export default StoreIcon