maz-ui
Version:
A standalone components library for Vue.Js 3 & Nuxt.Js 3
28 lines (27 loc) • 1.23 kB
JavaScript
import { defineComponent, createElementBlock, openBlock, normalizeClass, createElementVNode } from "vue";
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
import '../assets/MazSpinner.CsiFJ1DS.css';const _hoisted_1 = ["width", "height"], _sfc_main = /* @__PURE__ */ defineComponent({
__name: "MazSpinner",
props: {
size: { default: "2em" },
color: { default: "theme" }
},
setup(__props) {
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
width: __props.size,
height: __props.size,
version: "1.1",
xmlns: "http://www.w3.org/2000/svg",
x: "0px",
y: "0px",
viewBox: "0 0 50 50",
"xml:space": "preserve",
class: normalizeClass(["m-spinner m-reset-css", `m-spinner--${__props.color}`])
}, [..._cache[0] || (_cache[0] = [
createElementVNode("path", { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" }, null, -1)
])], 10, _hoisted_1));
}
}), MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-139d35b1"]]);
export {
MazSpinner as default
};