Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import { ReactElement, SVGProps } from "react";
export default function AngleBrackect({
angle,
...props
}: SVGProps<SVGSVGElement> & {
angle?: "greater" | "less";
}): ReactElement {
return (
<svg
focusable="false"
height="24"
width="24"
viewBox="0 0 24 24"
{...props}
>
<polyline
points={angle === "less" ? "16 4 7 12 16 20" : "8 4 17 12 8 20"}
fill="none"
stroke={typeof props.color === "string" ? props.color : "#fff"}
strokeWidth="1pt"
></polyline>
</svg>
);
}
|