@heroui/shared-icons
Version:
Internal icons set, commonly used in the components stories
69 lines (67 loc) • 2.56 kB
JavaScript
;
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/loading.tsx
var loading_exports = {};
__export(loading_exports, {
LoadingIcon: () => LoadingIcon
});
module.exports = __toCommonJS(loading_exports);
var import_jsx_runtime = require("react/jsx-runtime");
var LoadingIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 200 200", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "40", cy: "65", fill: "#3871FF", r: "15", stroke: "#3871FF", strokeWidth: "15", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"animate",
{
attributeName: "cy",
begin: "-.4",
calcMode: "spline",
dur: "2",
keySplines: ".5 0 .5 1;.5 0 .5 1",
repeatCount: "indefinite",
values: "65;135;65;"
}
) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "100", cy: "65", fill: "#3871FF", r: "15", stroke: "#3871FF", strokeWidth: "15", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"animate",
{
attributeName: "cy",
begin: "-.2",
calcMode: "spline",
dur: "2",
keySplines: ".5 0 .5 1;.5 0 .5 1",
repeatCount: "indefinite",
values: "65;135;65;"
}
) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "160", cy: "65", fill: "#3871FF", r: "15", stroke: "#3871FF", strokeWidth: "15", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"animate",
{
attributeName: "cy",
begin: "0",
calcMode: "spline",
dur: "2",
keySplines: ".5 0 .5 1;.5 0 .5 1",
repeatCount: "indefinite",
values: "65;135;65;"
}
) })
] });
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
LoadingIcon
});