@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 548 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 ChessRookIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M5,20H19V22H5V20M17,2V5H15V2H13V5H11V2H9V5H7V2H5V8H7V18H17V8H19V2H17Z' />
</Svg>
)
ChessRookIcon.displayName = 'ChessRookIcon'
ChessRookIcon.defaultProps = {
size: 24
}
export default ChessRookIcon