@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 566 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 VectorPointIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M12,20L7,22L12,11L17,22L12,20M8,2H16V5H22V7H16V10H8V7H2V5H8V2M10,4V8H14V4H10Z' />
</Svg>
)
VectorPointIcon.displayName = 'VectorPointIcon'
VectorPointIcon.defaultProps = {
size: 24
}
export default VectorPointIcon