@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 547 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 ResistorIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M2,11H7L10.07,15.35L13.11,4L18,11H22V13H17L13.93,8.65L10.89,20L6,13H2V11Z' />
</Svg>
)
ResistorIcon.displayName = 'ResistorIcon'
ResistorIcon.defaultProps = {
size: 24
}
export default ResistorIcon