@sandlada/vue-mdc
Version:

28 lines (27 loc) • 758 B
JavaScript
/**
* @license
* Copyright 2025 Sandlada & Kai Orion
* SPDX-License-Identifier: MIT
*/
import { defineComponent, h } from "vue";
import { componentNamePrefix } from "../../internals/component-name-prefix/component-name-prefix.js";
import css from "./styles/typography.module.scss.js";
import { props } from "./typography.definition.js";
const Typography = /* @__PURE__ */ defineComponent({
name: `${componentNamePrefix}-typography`,
props,
slots: {},
setup(props2, {
slots
}) {
return () => h(props2.tag, {
"data-component": "typography",
class: [css.typography, css[props2.variant]]
}, slots.default ? slots.default() : "");
},
inheritAttrs: true
});
export {
Typography
};
//# sourceMappingURL=typography.js.map