@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 560 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 FileTreeIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M3,3H9V7H3V3M15,10H21V14H15V10M15,17H21V21H15V17M13,13H7V18H13V20H7L5,20V9H7V11H13V13Z' />
</Svg>
)
FileTreeIcon.displayName = 'FileTreeIcon'
FileTreeIcon.defaultProps = {
size: 24
}
export default FileTreeIcon