mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-28 10:20:21 +02:00
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
|
import * as React from "react";
|
||
|
import Svg, { SvgProps, Path } from "react-native-svg";
|
||
|
import { IconoirContext } from "./IconoirContext";
|
||
|
|
||
|
function SvgCoffeeCup(
|
||
|
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="M17 11.6V15a6 6 0 01-6 6H9a6 6 0 01-6-6v-3.4a.6.6 0 01.6-.6h12.8a.6.6 0 01.6.6zM12 9c0-1 .714-2 2.143-2v0A2.857 2.857 0 0017 4.143V3.5M8 9v-.5a3 3 0 013-3v0a2 2 0 002-2V3"
|
||
|
stroke="currentColor"
|
||
|
strokeLinecap="round"
|
||
|
strokeLinejoin="round"
|
||
|
/>
|
||
|
<Path
|
||
|
d="M16 11h2.5a2.5 2.5 0 010 5H17"
|
||
|
stroke="currentColor"
|
||
|
strokeLinecap="round"
|
||
|
strokeLinejoin="round"
|
||
|
/>
|
||
|
</Svg>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
const ForwardRef = React.forwardRef(SvgCoffeeCup);
|
||
|
export default ForwardRef;
|