UNPKG

@violetprotocol/nudge-components

Version:

Components for Nudge's websites and applications.

4 lines (3 loc) 1.75 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { DEFAULT_ICON_COLOR } from "../SocialIcon"; export const ShopifyIcon = ({ color }) => (_jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("g", { "clip-path": "url(#clip0_12083_60740)", children: _jsx("path", { d: "M4.16711 11.667H15.1135C15.9576 11.667 16.3796 11.667 16.7155 11.5096C17.0115 11.371 17.2601 11.1484 17.4306 10.8696C17.6241 10.5531 17.6707 10.1337 17.7639 9.29481L18.2514 4.90728C18.2799 4.65106 18.2941 4.52295 18.2529 4.42379C18.2167 4.3367 18.1521 4.26447 18.0695 4.21889C17.9755 4.16699 17.8466 4.16699 17.5888 4.16699H3.75044M1.66699 1.66699H2.70736C2.92788 1.66699 3.03814 1.66699 3.1244 1.70893C3.20034 1.74585 3.26327 1.80497 3.30486 1.87846C3.35209 1.96194 3.35897 2.07198 3.37273 2.29207L4.12792 14.3752C4.14168 14.5953 4.14856 14.7054 4.19579 14.7889C4.23738 14.8623 4.30031 14.9215 4.37625 14.9584C4.46251 15.0003 4.57277 15.0003 4.79329 15.0003H15.8337M6.25033 17.917H6.25866M13.7503 17.917H13.7587M6.66699 17.917C6.66699 18.1471 6.48044 18.3337 6.25033 18.3337C6.02021 18.3337 5.83366 18.1471 5.83366 17.917C5.83366 17.6869 6.02021 17.5003 6.25033 17.5003C6.48044 17.5003 6.66699 17.6869 6.66699 17.917ZM14.167 17.917C14.167 18.1471 13.9804 18.3337 13.7503 18.3337C13.5202 18.3337 13.3337 18.1471 13.3337 17.917C13.3337 17.6869 13.5202 17.5003 13.7503 17.5003C13.9804 17.5003 14.167 17.6869 14.167 17.917Z", stroke: color ?? DEFAULT_ICON_COLOR, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_12083_60740", children: _jsx("rect", { width: "20", height: "20", fill: "white" }) }) })] }));