iconoir/packages/iconoir-react/src/ArrowRight.tsx
2023-03-24 08:46:39 +00:00

35 lines
801 B
TypeScript

import * as React from "react";
import { IconoirContext } from "./IconoirContext";
function SvgArrowRight(
passedProps: React.SVGProps<SVGSVGElement>,
svgRef?: React.Ref<SVGSVGElement>
) {
const context = React.useContext(IconoirContext);
const props = {
...context,
...passedProps,
};
return (
<svg
width="1.5em"
height="1.5em"
viewBox="0 0 24 24"
strokeWidth={1.5}
fill="none"
xmlns="http://www.w3.org/2000/svg"
color="currentColor"
ref={svgRef}
{...props}
>
<path
d="M3 12h18m0 0l-8.5-8.5M21 12l-8.5 8.5"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
}
const ForwardRef = React.forwardRef(SvgArrowRight);
export default ForwardRef;