@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 575 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 ChartLineIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M16,11.78L20.24,4.45L21.97,5.45L16.74,14.5L10.23,10.75L5.46,19H22V21H2V3H4V17.54L9.5,8L16,11.78Z' />
</Svg>
)
ChartLineIcon.displayName = 'ChartLineIcon'
ChartLineIcon.defaultProps = {
size: 24
}
export default ChartLineIcon