@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 542 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 AxeIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M12,2L22,8C22,12 20,14 16,15L13,10L9,6L12,2M4.11,19.84L2.12,18.33L9.19,9L11,10.81L4.11,19.84Z' />
</Svg>
)
AxeIcon.displayName = 'AxeIcon'
AxeIcon.defaultProps = {
size: 24
}
export default AxeIcon