跳到主要内容
版本:0.9.0-beta.2

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​

src/components/tabs/tab.tsx:38


closable​

• Optional closable: boolean

Mark the tab status to be closable, Default is true

Defined in​

src/components/tabs/tab.tsx:43


data​

• Optional data: T

Defined in​

src/components/tabs/tab.tsx:53


editable​

• Optional editable: boolean

Mark the tab status to be editing

Defined in​

src/components/tabs/tab.tsx:47


icon​

• Optional icon: string | Element

Defined in​

src/components/tabs/tab.tsx:49


id​

• id: UniqueId

Defined in​

src/components/tabs/tab.tsx:50


name​

• Optional name: string

Defined in​

src/components/tabs/tab.tsx:51


renderPane​

• Optional renderPane: ReactNode | (item: P) => ReactNode

Defined in​

src/components/tabs/tab.tsx:52


status​

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

Defined in​

src/components/tabs/tab.tsx:48