2022-08-28 20:12:09 +02:00
|
|
|
import * as React from "react";
|
|
|
|
import Svg, { SvgProps, Path } from "react-native-svg";
|
|
|
|
import { IconoirContext } from "./IconoirContext";
|
2021-06-09 09:53:55 +02:00
|
|
|
function SvgCart(
|
2022-08-28 20:12:09 +02:00
|
|
|
passedProps: SvgProps,
|
2021-06-09 09:53:55 +02:00
|
|
|
svgRef?: React.Ref<React.Component<SvgProps>>
|
|
|
|
) {
|
2022-08-28 20:12:09 +02:00
|
|
|
const context = React.useContext(IconoirContext);
|
2023-01-11 19:09:27 +01:00
|
|
|
const props = {
|
|
|
|
...context,
|
|
|
|
...passedProps,
|
|
|
|
};
|
2021-06-09 09:53:55 +02:00
|
|
|
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="M19.5 22a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM9.5 22a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"
|
|
|
|
fill="currentColor"
|
|
|
|
stroke="currentColor"
|
|
|
|
strokeLinecap="round"
|
|
|
|
strokeLinejoin="round"
|
|
|
|
/>
|
|
|
|
<Path
|
|
|
|
d="M5 4h17l-2 11H7L5 4zm0 0c-.167-.667-1-2-3-2M20 15H5.23c-1.784 0-2.73.781-2.73 2 0 1.219.946 2 2.73 2H19.5"
|
|
|
|
stroke="currentColor"
|
|
|
|
strokeLinecap="round"
|
|
|
|
strokeLinejoin="round"
|
|
|
|
/>
|
|
|
|
</Svg>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
const ForwardRef = React.forwardRef(SvgCart);
|
|
|
|
export default ForwardRef;
|