iconoir/packages/iconoir-react-native/src/SvgFormat.tsx
2023-01-11 18:09:27 +00:00

40 lines
1.1 KiB
TypeScript

import * as React from "react";
import Svg, { SvgProps, Path } from "react-native-svg";
import { IconoirContext } from "./IconoirContext";
function SvgSvgFormat(
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.5 15h2A1.5 1.5 0 008 13.5v0A1.5 1.5 0 006.5 12H6a1.5 1.5 0 01-1.5-1.5v0A1.5 1.5 0 016 9h1.5M10.5 9l1.5 6 1.5-6M19.5 9h-3v6h3v-2.4"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
<Path
d="M4 6V3.6a.6.6 0 01.6-.6h14.8a.6.6 0 01.6.6V6M4 18v2.4a.6.6 0 00.6.6h14.8a.6.6 0 00.6-.6V18"
stroke="currentColor"
strokeLinecap="round"
/>
</Svg>
);
}
const ForwardRef = React.forwardRef(SvgSvgFormat);
export default ForwardRef;