@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 553 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 ChevronRightIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' />
</Svg>
)
ChevronRightIcon.displayName = 'ChevronRightIcon'
ChevronRightIcon.defaultProps = {
size: 24
}
export default ChevronRightIcon