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

36 lines
894 B
JavaScript

import React, { forwardRef } from "react";
import PropTypes from "prop-types";
const ChevronsUp = 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="17 11 12 6 7 11"></polyline>
<polyline points="17 18 12 13 7 18"></polyline>
</svg>
);
}
);
ChevronsUp.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
ChevronsUp.displayName = "ChevronsUp";
export default ChevronsUp;