@particle-network/connectkit
Version:
53 lines (51 loc) • 2.02 kB
JavaScript
"use client";
;
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/assets/icons/ButtonLoadingIcon.tsx
var ButtonLoadingIcon_exports = {};
__export(ButtonLoadingIcon_exports, {
default: () => ButtonLoadingIcon_default
});
module.exports = __toCommonJS(ButtonLoadingIcon_exports);
var import_framer_motion = require("framer-motion");
var import_jsx_runtime = require("react/jsx-runtime");
var ButtonLoadingIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
import_framer_motion.motion.svg,
{
fill: "none",
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
...props,
animate: { rotate: 360 },
transition: { repeat: Infinity, duration: 1, ease: "linear" },
children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4", opacity: 0.25 }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"path",
{
opacity: 0.75,
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",
fill: "currentColor"
}
)
]
}
);
var ButtonLoadingIcon_default = ButtonLoadingIcon;
//# sourceMappingURL=ButtonLoadingIcon.cjs.map