@sandlada/vue-mdc
Version:

26 lines (25 loc) • 708 B
JavaScript
/**
* @license
* Copyright 2025 Sandlada & Kai Orion
* SPDX-License-Identifier: MIT
*/
import { defineComponent, createVNode } from "vue";
import { componentNamePrefix } from "../../internals/component-name-prefix/component-name-prefix.js";
import { props } from "./icon.definition.js";
import css from "./styles/icon.module.scss.js";
const Icon = /* @__PURE__ */ defineComponent({
name: `${componentNamePrefix}-icon`,
props,
slots: {},
render() {
return createVNode("span", {
"data-component": "icon",
"class": [css.icon, css[this.variant]]
}, [this.$slots.default && this.$slots.default()]);
},
inheritAttrs: true
});
export {
Icon
};
//# sourceMappingURL=icon.js.map