跳到主要内容
版本:1.x

Interface: ITabProps<T, P>

molecule.component.ITabProps

The type definition for the Tab data construct

Type parameters

NameType
Tany
Pany

Hierarchy

Properties

active

Optional active: boolean

deprecated Tab doesn't need this property, but the type extends from tab need

Defined in

components/tabs/tab.tsx:39


closable

Optional closable: boolean

Mark the tab status to be closable, Default is true

Defined in

components/tabs/tab.tsx:44


data

Optional data: T

Defined in

components/tabs/tab.tsx:56


editable

Optional editable: boolean

Mark the tab status to be editing

Defined in

components/tabs/tab.tsx:48


icon

Optional icon: string | Element

Defined in

components/tabs/tab.tsx:50


id

id: UniqueId

Defined in

components/tabs/tab.tsx:51


name

Optional name: string

Defined in

components/tabs/tab.tsx:52


renderPane

Optional renderPane: ReactNode | (item: P, tab?: ITabProps<any, any>, group?: IEditorGroup<any, any>) => ReactNode

Defined in

components/tabs/tab.tsx:53


status

Optional status: "edited" | (tab: ITabProps<any, any>) => Element

Defined in

components/tabs/tab.tsx:49