element-plus
Version:
A Component Library for Vue 3
72 lines (71 loc) • 2.85 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
import type TabBar from './tab-bar.vue';
export declare const tabBarProps: {
readonly tabs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
uid: number;
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
props: {
readonly closable: boolean;
readonly label: string;
readonly disabled: boolean;
readonly lazy: boolean;
readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
};
paneName: string | number | undefined;
active: boolean;
index: string | undefined;
isClosable: boolean;
}[]) | (() => {
uid: number;
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
props: {
readonly closable: boolean;
readonly label: string;
readonly disabled: boolean;
readonly lazy: boolean;
readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
};
paneName: string | number | undefined;
active: boolean;
index: string | undefined;
isClosable: boolean;
}[]) | ((new (...args: any[]) => {
uid: number;
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
props: {
readonly closable: boolean;
readonly label: string;
readonly disabled: boolean;
readonly lazy: boolean;
readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
};
paneName: string | number | undefined;
active: boolean;
index: string | undefined;
isClosable: boolean;
}[]) | (() => {
uid: number;
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
props: {
readonly closable: boolean;
readonly label: string;
readonly disabled: boolean;
readonly lazy: boolean;
readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
};
paneName: string | number | undefined;
active: boolean;
index: string | undefined;
isClosable: boolean;
}[]))[], unknown, unknown, () => [], boolean>;
};
export declare type TabBarProps = ExtractPropTypes<typeof tabBarProps>;
export declare type TabBarInstance = InstanceType<typeof TabBar>;