| 1234567891011121314151617181920212223242526272829303132333435 |
- import { ref as a, watch as c, createBlock as l, openBlock as n, resolveDynamicComponent as s, normalizeStyle as m, normalizeClass as i } from "vue";
- import { k as u } from "./index2.js";
- const f = {
- __name: "SIcon",
- props: {
- name: {
- type: String,
- required: !0
- },
- size: {
- type: Number,
- default: 16
- },
- color: {
- type: String,
- default: ""
- }
- },
- setup(e) {
- const r = e, o = a("var(--s-color)");
- return c(
- () => r.color,
- (t) => {
- o.value = t || "var(--s-color)";
- },
- { immediate: !0 }
- ), (t, p) => (n(), l(s(e.name), {
- class: i(e.name),
- style: m({ fontSize: e.size + "px", color: o.value })
- }, null, 8, ["class", "style"]));
- }
- }, v = /* @__PURE__ */ u(f, [["__scopeId", "data-v-001d834f"]]);
- export {
- v as default
- };
|