@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 609 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 HomeCityIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M0,21V10L7.5,5L15,10V21H10V14H5V21H0M24,2V21H17V8.93L16,8.27V6H14V6.93L10,4.27V2H24M21,14H19V16H21V14M21,10H19V12H21V10M21,6H19V8H21V6Z' />
</Svg>
)
HomeCityIcon.displayName = 'HomeCityIcon'
HomeCityIcon.defaultProps = {
size: 24
}
export default HomeCityIcon