mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-01 21:42:32 +02:00
34 lines
992 B
TypeScript
34 lines
992 B
TypeScript
import * as React from "react";
|
|
import Svg, { Path } from "react-native-svg";
|
|
import type { SvgProps } from "react-native-svg";
|
|
import { Ref, forwardRef } from "react";
|
|
import { IconoirContext } from "./IconoirContext";
|
|
const SvgAddFolder = (passedProps: SvgProps, ref: Ref<Svg>) => {
|
|
const context = React.useContext(IconoirContext);
|
|
const props = {
|
|
...context,
|
|
...passedProps,
|
|
};
|
|
return (
|
|
<Svg
|
|
width="1.5em"
|
|
height="1.5em"
|
|
fill="none"
|
|
strokeWidth={1.5}
|
|
viewBox="0 0 24 24"
|
|
color="currentColor"
|
|
ref={ref}
|
|
{...props}
|
|
>
|
|
<Path
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
d="M18 6h2m2 0h-2m0 0V4m0 2v2M21.4 20H2.6a.6.6 0 0 1-.6-.6V11h19.4a.6.6 0 0 1 .6.6v7.8a.6.6 0 0 1-.6.6ZM2 11V4.6a.6.6 0 0 1 .6-.6h6.178a.6.6 0 0 1 .39.144l3.164 2.712a.6.6 0 0 0 .39.144H14"
|
|
/>
|
|
</Svg>
|
|
);
|
|
};
|
|
const ForwardRef = forwardRef(SvgAddFolder);
|
|
export default ForwardRef;
|