@vrx-arco/pro-components
Version:
<p align="center"> <img src="https://vrx-arco.github.io/arco-design-pro/favicon.svg" width="200" height="250"> </p>
61 lines (60 loc) • 1.56 kB
text/typescript
import { PropType } from 'vue';
import type { TabsType } from '@arco-design/web-vue/es/tabs/interface';
export interface SearchLayoutContentTab {
title: string;
disabled?: boolean;
key: string | number;
}
export declare const SearchLayoutContent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* 是否启用tab
*/
useTabs: BooleanConstructor;
/**
* tab配置
*/
tabs: {
type: PropType<SearchLayoutContentTab[]>;
default: () => never[];
};
/**
* tab类型
* @default rounded
*/
tabsType: {
type: PropType<TabsType>;
default: string;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
/**
*
* @param key
*/
tabChange: (key: string | number) => true;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* 是否启用tab
*/
useTabs: BooleanConstructor;
/**
* tab配置
*/
tabs: {
type: PropType<SearchLayoutContentTab[]>;
default: () => never[];
};
/**
* tab类型
* @default rounded
*/
tabsType: {
type: PropType<TabsType>;
default: string;
};
}>> & Readonly<{
onTabChange?: ((key: string | number) => any) | undefined;
}>, {
useTabs: boolean;
tabs: SearchLayoutContentTab[];
tabsType: TabsType;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;