You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/button/index.ts

18 lines
406 B

import { App, Plugin } from 'vue';
import Button from './button';
import ButtonGroup from './button-group';
7 years ago
Button.Group = ButtonGroup;
/* istanbul ignore next */
Button.install = function(app: App) {
app.component(Button.name, Button);
app.component(ButtonGroup.name, ButtonGroup);
return app;
};
7 years ago
export default Button as typeof Button &
Plugin & {
readonly Group: typeof ButtonGroup;
};