mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-20 15:26:41 +02:00
35 lines
987 B
TypeScript
35 lines
987 B
TypeScript
import * as React from "react";
|
|
import Svg, { SvgProps, Path } from "react-native-svg";
|
|
import { IconoirContext } from "./IconoirContext";
|
|
function SvgBirthdayCake(
|
|
passedProps: SvgProps,
|
|
svgRef?: React.Ref<React.Component<SvgProps>>
|
|
) {
|
|
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"
|
|
color="currentColor"
|
|
ref={svgRef}
|
|
{...props}
|
|
>
|
|
<Path
|
|
d="M4 16.5V20a2 2 0 002 2h12a2 2 0 002-2v-3.5M3 14v-1a2 2 0 012-2h14a2 2 0 012 2v1M12 8v3M12 8c1.262 0 2-.968 2-2.625S12 2 12 2s-2 1.718-2 3.375S10.738 8 12 8zM9 14a3 3 0 11-6 0M15 14a3 3 0 11-6 0M21 14a3 3 0 11-6 0"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
/>
|
|
</Svg>
|
|
);
|
|
}
|
|
const ForwardRef = React.forwardRef(SvgBirthdayCake);
|
|
export default ForwardRef;
|