mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-13 19:32:32 +02:00
41 lines
1 KiB
TypeScript
41 lines
1 KiB
TypeScript
import * as React from "react";
|
|
import Svg, { SvgProps, Path } from "react-native-svg";
|
|
import { IconoirContext } from "./IconoirContext";
|
|
function SvgFigma(
|
|
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"
|
|
strokeWidth={1.5}
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
color="currentColor"
|
|
ref={svgRef}
|
|
{...props}
|
|
>
|
|
<Path
|
|
d="M6 6a3 3 0 013-3h3v6H9a3 3 0 01-3-3zM12 3h3a3 3 0 010 6h-3V3z"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
/>
|
|
<Path
|
|
d="M12 12a3 3 0 116 0 3 3 0 01-6 0v0zM6 18a3 3 0 013-3h3v3a3 3 0 01-6 0zM6 12a3 3 0 013-3h3v6H9a3 3 0 01-3-3z"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
/>
|
|
</Svg>
|
|
);
|
|
}
|
|
const ForwardRef = React.forwardRef(SvgFigma);
|
|
export default ForwardRef;
|