Skip to content

@vtj


@vtj / ui / TabsItem

Interface: TabsItem

Properties

actions?

optional actions: Readonly<Partial<ExtractPropTypes<{ background: { default: string; type: PropType<"none" | "hover" | "always">; }; badge: { type: PropType<string | number | Partial<BadgeProps>>; }; button: { type: PropType<Partial<ButtonProps>>; }; circle: { type: BooleanConstructor; }; disabled: { type: PropType<boolean | () => boolean>; }; draggable: { type: BooleanConstructor; }; dropdown: { type: PropType<Partial<ExtractPropTypes<{}>>>; }; icon: { type: PropType<IconParam>; }; label: { type: StringConstructor; }; menus: { type: PropType<ActionMenuItem[]>; }; mode: { default: string; type: PropType<ActionMode>; }; name: { type: StringConstructor; }; size: { default: string; type: PropType<BaseSize>; }; tooltip: { type: PropType<string | Partial<ElTooltipProps>>; }; type: { type: PropType<BaseType>; }; value: { type: PropType<unknown>; }; }>>>[]

Defined in

packages/ui/types/components/tabs/types.d.ts:13


closable?

optional closable: boolean

Defined in

packages/ui/types/components/tabs/types.d.ts:11


component?

optional component: any

Defined in

packages/ui/types/components/tabs/types.d.ts:14


data?

optional data: any

Defined in

packages/ui/types/components/tabs/types.d.ts:9


disabled?

optional disabled: boolean

Defined in

packages/ui/types/components/tabs/types.d.ts:10


icon?

optional icon: IconParam

Defined in

packages/ui/types/components/tabs/types.d.ts:7


label

label: string

Defined in

packages/ui/types/components/tabs/types.d.ts:5


lazy?

optional lazy: boolean

Defined in

packages/ui/types/components/tabs/types.d.ts:12


name?

optional name: string | number

Defined in

packages/ui/types/components/tabs/types.d.ts:6


props?

optional props: Record<string, any>

Defined in

packages/ui/types/components/tabs/types.d.ts:15


slot?

optional slot: string

自定义内容插槽名称

Defined in

packages/ui/types/components/tabs/types.d.ts:19


value?

optional value: string | number

Defined in

packages/ui/types/components/tabs/types.d.ts:8

Released under the MIT License.