winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
18 lines (17 loc) • 668 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports[Symbol.toStringTag] = "Module";
var globalConfig = require("../_utils/global-config.js");
var button = require("./button.js");
var buttonGroup = require("./button-group.js");
const Button = Object.assign(button, {
Group: buttonGroup,
install: (app, options) => {
globalConfig.setGlobalConfig(app, options);
const componentPrefix = globalConfig.getComponentPrefix(options);
app.component(componentPrefix + button.name, button);
app.component(componentPrefix + buttonGroup.name, buttonGroup);
}
});
exports.ButtonGroup = buttonGroup;
exports["default"] = Button;