winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
26 lines (25 loc) • 967 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports[Symbol.toStringTag] = "Module";
var globalConfig = require("../_utils/global-config.js");
var typography = require("./typography.js");
var paragraph = require("./paragraph.js");
var title = require("./title.js");
var text = require("./text.js");
const Typography = Object.assign(typography, {
Paragraph: paragraph,
Title: title,
Text: text,
install: (app, options) => {
globalConfig.setGlobalConfig(app, options);
const componentPrefix = globalConfig.getComponentPrefix(options);
app.component(componentPrefix + typography.name, typography);
app.component(componentPrefix + paragraph.name, paragraph);
app.component(componentPrefix + title.name, title);
app.component(componentPrefix + text.name, text);
}
});
exports.TypographyParagraph = paragraph;
exports.TypographyTitle = title;
exports.TypographyText = text;
exports["default"] = Typography;