@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 624 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 FolderOpenIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19C20.1,6 21,6.9 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z' />
</Svg>
)
FolderOpenIcon.displayName = 'FolderOpenIcon'
FolderOpenIcon.defaultProps = {
size: 24
}
export default FolderOpenIcon