ant-design-vue/components/tabs/index.ts
2021-12-24 16:08:51 +08:00

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 };