iran-license-plate
Version:
A general react component for Iran license plate.
66 lines (65 loc) • 2.1 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/IranLicensePlate/components/Spinner.tsx
var Spinner_exports = {};
__export(Spinner_exports, {
SpinnerSvg: () => SpinnerSvg
});
module.exports = __toCommonJS(Spinner_exports);
var import_jsx_runtime = require("react/jsx-runtime");
var SpinnerSvg = (props) => {
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "20px",
height: "20px",
...props,
viewBox: "0 0 100 100",
preserveAspectRatio: "xMidYMid",
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"circle",
{
cx: "50",
cy: "50",
fill: "none",
stroke: "currentColor",
r: "35",
strokeDasharray: "164.93361431346415 56.97787143782138",
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"animateTransform",
{
attributeName: "transform",
type: "rotate",
repeatCount: "indefinite",
dur: "1s",
values: "0 50 50;360 50 50",
keyTimes: "0;1"
}
)
}
)
}
);
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
SpinnerSvg
});
//# sourceMappingURL=Spinner.js.map