iconoir/packages/iconoir-react/src/UserStar.tsx
2023-01-26 18:36:43 +00:00

41 lines
1.2 KiB
TypeScript

import * as React from "react";
import { IconoirContext } from "./IconoirContext";
function SvgUserStar(
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="M12 12a4 4 0 100-8 4 4 0 000 8z"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M5 20v-1a7 7 0 0110-6.326M16.635 16.415l1.039-2.203a.357.357 0 01.652 0l1.04 2.203 2.323.356c.298.045.416.429.2.649l-1.68 1.713.396 2.421c.051.311-.26.548-.527.401L18 20.812l-2.078 1.143c-.267.147-.578-.09-.527-.4l.396-2.422-1.68-1.713c-.216-.22-.098-.604.2-.65l2.324-.355z"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
}
const ForwardRef = React.forwardRef(SvgUserStar);
export default ForwardRef;