UNPKG

@sandlada/vue-mdc

Version:

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

28 lines (27 loc) 758 B
/** * @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