@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 568 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 TwitchIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M4,2H22V14L17,19H13L10,22H7V19H2V6L4,2M20,13V4H6V16H9V19L12,16H17L20,13M15,7H17V12H15V7M12,7V12H10V7H12Z' />
</Svg>
)
TwitchIcon.displayName = 'TwitchIcon'
TwitchIcon.defaultProps = {
size: 24
}
export default TwitchIcon