@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 621 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 TreasureChestIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M5,4H19C20.66,4 22,5.34 22,7V11H15V10H9V11H2V7C2,5.34 3.34,4 5,4M11,11H13V13H11V11M2,12H9V13L11,15H13L15,13V12H22V20H2V12Z' />
</Svg>
)
TreasureChestIcon.displayName = 'TreasureChestIcon'
TreasureChestIcon.defaultProps = {
size: 24
}
export default TreasureChestIcon