mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 03:58:05 +08:00
20 lines
429 B
TypeScript
20 lines
429 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Tabs, { TabPane } from './src';
|
|
export type { TabsProps, TabPaneProps } from './src';
|
|
|
|
Tabs.TabPane = TabPane;
|
|
|
|
/* istanbul ignore next */
|
|
Tabs.install = function (app: App) {
|
|
app.component(Tabs.name, Tabs);
|
|
app.component(TabPane.name, TabPane);
|
|
return app;
|
|
};
|
|
|
|
export default Tabs as typeof Tabs &
|
|
Plugin & {
|
|
readonly TabPane: typeof TabPane;
|
|
};
|
|
|
|
export { TabPane };
|