@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 549 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 ViewListIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M9,5V9H21V5M9,19H21V15H9M9,14H21V10H9M4,9H8V5H4M4,19H8V15H4M4,14H8V10H4V14Z' />
</Svg>
)
ViewListIcon.displayName = 'ViewListIcon'
ViewListIcon.defaultProps = {
size: 24
}
export default ViewListIcon