You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import type { App, Plugin } from 'vue';
|
|
|
|
import Tabs, { TabPane } from './src';
|
|
|
|
export type { TabsProps, TabPaneProps } from './src';
|
|
|
|
|
|
|
|
Tabs.TabPane = { ...TabPane, name: 'ATabPane', __ANT_TAB_PANE: true };
|
|
|
|
|
|
|
|
/* istanbul ignore next */
|
|
|
|
Tabs.install = function (app: App) {
|
|
|
|
app.component(Tabs.name, Tabs);
|
|
|
|
app.component(Tabs.TabPane.name, Tabs.TabPane);
|
|
|
|
return app;
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Tabs as typeof Tabs &
|
|
|
|
Plugin & {
|
|
|
|
readonly TabPane: typeof TabPane;
|
|
|
|
};
|
|
|
|
|
|
|
|
export { TabPane };
|