@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 560 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 VuetifyIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M12,11.64L7.92,2H16.08L12,11.64M12,21.95L3.27,4.91H7.84L12,14.47L16.16,4.91H20.73L12,21.95Z' />
</Svg>
)
VuetifyIcon.displayName = 'VuetifyIcon'
VuetifyIcon.defaultProps = {
size: 24
}
export default VuetifyIcon