mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-06 05:59:46 +08:00
17 lines
402 B
TypeScript
17 lines
402 B
TypeScript
import { App } 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 & {
|
|
readonly Group: typeof CheckboxGroup;
|
|
};
|