@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 521 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 ShareIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M21,12L14,5V9C7,10 4,15 3,20C5.5,16.5 9,14.9 14,14.9V19L21,12Z' />
</Svg>
)
ShareIcon.displayName = 'ShareIcon'
ShareIcon.defaultProps = {
size: 24
}
export default ShareIcon