@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 545 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 FlashAlertIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M5,2V13H8V22L15,10H11L15,2M17,15H19V17H17V15M17,7H19V13H17V7Z' />
</Svg>
)
FlashAlertIcon.displayName = 'FlashAlertIcon'
FlashAlertIcon.defaultProps = {
size: 24
}
export default FlashAlertIcon