Interface: ITabProps<T, P>
The type definition for the Tab data construct
Type parameters
Name | Type |
---|---|
T | any |
P | any |
Hierarchy
ITabProps
Properties
active
• Optional
active: boolean
deprecated
Tab doesn't need this property, but the type extends from tab need
Defined in
closable
• Optional
closable: boolean
Mark the tab status to be closable, Default is true
Defined in
data
• Optional
data: T
Defined in
editable
• Optional
editable: boolean
Mark the tab status to be editing
Defined in
icon
• Optional
icon: string
| Element
Defined in
id
• id: UniqueId
Defined in
name
• Optional
name: string
Defined in
renderPane
• Optional
renderPane: ReactNode
| (item
: P
, tab?
: ITabProps
<any
, any
>, group?
: IEditorGroup
<any
, any
>) => ReactNode
Defined in
status
• Optional
status: "edited"
| (tab
: ITabProps
<any
, any
>) => Element