UNPKG

@nature-ui/icons

Version:

A base React component for icons

39 lines (37 loc) 1.19 kB
// src/Spinner.tsx import { createIcon } from "@nature-ui/icon"; import { Fragment, jsx, jsxs } from "react/jsx-runtime"; var SpinnerIcon = createIcon({ displayName: "SpinnerIcon", path: /* @__PURE__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs( "linearGradient", { x1: "28.154%", y1: "63.74%", x2: "74.629%", y2: "17.783%", id: "a", children: [ /* @__PURE__ */ jsx("stop", { stopColor: "currentColor", offset: "0%" }), /* @__PURE__ */ jsx("stop", { stopColor: "#fff", stopOpacity: "0", offset: "100%" }) ] } ) }), /* @__PURE__ */ jsxs("g", { transform: "translate(2)", fill: "none", children: [ /* @__PURE__ */ jsx("circle", { stroke: "url(#a)", strokeWidth: "4", cx: "10", cy: "12", r: "10" }), /* @__PURE__ */ jsx( "path", { d: "M10 2C4.477 2 0 6.477 0 12", stroke: "currentColor", strokeWidth: "4" } ), /* @__PURE__ */ jsx("rect", { fill: "currentColor", x: "8", width: "4", height: "4", rx: "8" }) ] }) ] }) }); export { SpinnerIcon };