Files
lucide/packages/react/src/icons/chevron-left.js
2020-06-28 15:27:24 +01:00

35 lines
843 B
JavaScript

import React, { forwardRef } from "react";
import PropTypes from "prop-types";
const ChevronLeft = forwardRef(
({ color = "currentColor", size = 24, width = 2, ...rest }, ref) => {
return (
<svg
ref={ref}
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth={width}
strokeLinecap="round"
strokeLinejoin="round"
{...rest}
>
<polyline points="15 18 9 12 15 6"></polyline>
</svg>
);
}
);
ChevronLeft.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
ChevronLeft.displayName = "ChevronLeft";
export default ChevronLeft;