UNPKG

@sandlada/vue-mdc

Version:

![Vue MDC Logo](https://raw.githubusercontent.com/sandlada/vue-mdc/refs/heads/main/docs/vue-mdc-cover.png)

26 lines (25 loc) 756 B
/** * @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 css from "./styles/typography.module.scss.js"; import { props } from "./typography.definition.js"; const Typography = /* @__PURE__ */ defineComponent({ name: `${componentNamePrefix}-typography`, props, slots: {}, render() { return createVNode("span", { "data-component": "typography", "class": [css.typography, css[this.variant]] }, [this.$slots.default && this.$slots.default()]); }, inheritAttrs: true }); export { Typography }; //# sourceMappingURL=typography.js.map