@mankindui/core
Version:
- a react component library - you can see how @mankindui/core can be used via examples: [usage examples](https://github.com/clarklindev/mankindui-test)
21 lines (20 loc) • 826 B
JavaScript
import { j as s } from "../../_virtual/jsx-runtime.js";
const r = ({ size: e = "5" }) => /* @__PURE__ */ s.jsx(
"div",
{
"data-component": r.displayName,
style: {
width: `${e}px`,
height: `${e}px`
},
children: /* @__PURE__ */ s.jsxs("svg", { className: "mr-3 w-10 h-10 animate-spin", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
/* @__PURE__ */ s.jsx("circle", { className: "stroke-gray-400", cx: "12", cy: "12", r: "10", fill: "none", strokeWidth: "1" }),
/* @__PURE__ */ s.jsx("circle", { className: "stroke-white dark:stroke-black", cx: "12", cy: "12", r: "10", fill: "none", strokeWidth: "1", strokeDasharray: "63.66", strokeDashoffset: "31.83" })
] })
}
);
r.displayName = "Spinner";
export {
r as Spinner
};
//# sourceMappingURL=index.js.map