UNPKG

@nature-ui/icons

Version:

A base React component for icons

63 lines (61 loc) 2.45 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/Spinner.tsx var Spinner_exports = {}; __export(Spinner_exports, { SpinnerIcon: () => SpinnerIcon }); module.exports = __toCommonJS(Spinner_exports); var import_icon = require("@nature-ui/icon"); var import_jsx_runtime = require("react/jsx-runtime"); var SpinnerIcon = (0, import_icon.createIcon)({ displayName: "SpinnerIcon", path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)( "linearGradient", { x1: "28.154%", y1: "63.74%", x2: "74.629%", y2: "17.783%", id: "a", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { stopColor: "currentColor", offset: "0%" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { stopColor: "#fff", stopOpacity: "0", offset: "100%" }) ] } ) }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { transform: "translate(2)", fill: "none", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { stroke: "url(#a)", strokeWidth: "4", cx: "10", cy: "12", r: "10" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)( "path", { d: "M10 2C4.477 2 0 6.477 0 12", stroke: "currentColor", strokeWidth: "4" } ), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { fill: "currentColor", x: "8", width: "4", height: "4", rx: "8" }) ] }) ] }) }); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { SpinnerIcon });