@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 570 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 FullscreenIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z' />
</Svg>
)
FullscreenIcon.displayName = 'FullscreenIcon'
FullscreenIcon.defaultProps = {
size: 24
}
export default FullscreenIcon