17 lines
383 B
TypeScript
17 lines
383 B
TypeScript
import { App } from 'vue';
|
|
import Button from './button';
|
|
import ButtonGroup from './button-group';
|
|
|
|
Button.Group = ButtonGroup;
|
|
|
|
/* istanbul ignore next */
|
|
Button.install = function(app: App) {
|
|
app.component(Button.name, Button);
|
|
app.component(ButtonGroup.name, ButtonGroup);
|
|
return app;
|
|
};
|
|
|
|
export default Button as typeof Button & {
|
|
readonly Group: typeof ButtonGroup;
|
|
};
|