mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-10 18:32:19 +08:00
18 lines
425 B
TypeScript
18 lines
425 B
TypeScript
import { App, Plugin } from 'vue';
|
|
import Checkbox from './Checkbox';
|
|
import CheckboxGroup from './Group';
|
|
|
|
Checkbox.Group = CheckboxGroup;
|
|
|
|
/* istanbul ignore next */
|
|
Checkbox.install = function(app: App) {
|
|
app.component(Checkbox.name, Checkbox);
|
|
app.component(CheckboxGroup.name, CheckboxGroup);
|
|
return app;
|
|
};
|
|
|
|
export default Checkbox as typeof Checkbox &
|
|
Plugin & {
|
|
readonly Group: typeof CheckboxGroup;
|
|
};
|