mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 21:50:07 +08:00
17 lines
410 B
TypeScript
17 lines
410 B
TypeScript
import { App } from 'vue';
|
|
import Collapse from './Collapse';
|
|
import CollapsePanel from './CollapsePanel';
|
|
|
|
Collapse.Panel = CollapsePanel;
|
|
|
|
/* istanbul ignore next */
|
|
Collapse.install = function(app: App) {
|
|
app.component(Collapse.name, Collapse);
|
|
app.component(CollapsePanel.name, CollapsePanel);
|
|
return app;
|
|
};
|
|
|
|
export default Collapse as typeof Collapse & {
|
|
readonly Panel: typeof CollapsePanel;
|
|
};
|