mirror of
https://github.com/CoreyGinnivan/system-uicons.git
synced 2024-05-18 13:26:34 +02:00
37 lines
908 B
JavaScript
37 lines
908 B
JavaScript
import React, { forwardRef } from 'react'
|
|
import PropTypes from 'prop-types'
|
|
const ChevronLeft = forwardRef(
|
|
({ color = 'currentColor', size = 21, ...rest }, ref) => {
|
|
return (
|
|
<svg
|
|
ref={ref}
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={size}
|
|
height={size}
|
|
viewBox="0 0 21 21"
|
|
fill="none"
|
|
stroke={color}
|
|
strokeWidth="1"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
{...rest}
|
|
>
|
|
<path
|
|
d="m4.5 8.5-4-4 4-4"
|
|
fill="none"
|
|
stroke="#2a2e3b"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
transform="translate(7 6)"
|
|
></path>
|
|
</svg>
|
|
)
|
|
}
|
|
)
|
|
ChevronLeft.propTypes = {
|
|
color: PropTypes.string,
|
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
}
|
|
ChevronLeft.displayName = 'ChevronLeft'
|
|
export default ChevronLeft
|