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

41 lines
981 B
TypeScript

import * as React from "react";
import Svg, { SvgProps, Path } from "react-native-svg";
import { IconoirContext } from "./IconoirContext";
function SvgBreadSlice(
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="M7 20V9S3 4 9.5 4H17c7 0 3 5 3 5v9a2 2 0 01-2 2H7z"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
<Path
d="M7 20H6a2 2 0 01-2-2V9S0 4 6.5 4H10"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
</Svg>
);
}
const ForwardRef = React.forwardRef(SvgBreadSlice);
export default ForwardRef;