@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 599 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 WindowCloseIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M13.46,12L19,17.54V19H17.54L12,13.46L6.46,19H5V17.54L10.54,12L5,6.46V5H6.46L12,10.54L17.54,5H19V6.46L13.46,12Z' />
</Svg>
)
WindowCloseIcon.displayName = 'WindowCloseIcon'
WindowCloseIcon.defaultProps = {
size: 24
}
export default WindowCloseIcon