Interface: IPanelItem<T>
Type parameters
Name | Type |
---|---|
T | any |
Hierarchy
Properties
active
• Optional
active: boolean
deprecated
Tab doesn't need this property, but the type extends from tab need
Inherited from
Defined in
src/components/tabs/tab.tsx:38
closable
• Optional
closable: boolean
Mark the tab status to be closable, Default is true
Inherited from
Defined in
src/components/tabs/tab.tsx:43
data
• Optional
data: T
Overrides
Defined in
src/model/workbench/panel.tsx:10
editable
• Optional
editable: boolean
Mark the tab status to be editing
Inherited from
Defined in
src/components/tabs/tab.tsx:47
icon
• Optional
icon: string
| Element
Inherited from
Defined in
src/components/tabs/tab.tsx:49
id
• id: UniqueId
Inherited from
Defined in
src/components/tabs/tab.tsx:50
name
• Optional
name: string
Inherited from
Defined in
src/components/tabs/tab.tsx:51
renderPane
• Optional
renderPane: ReactNode
| (item
: any
) => ReactNode
Inherited from
Defined in
src/components/tabs/tab.tsx:52
sortIndex
• Optional
sortIndex: number
The sort of panel item
Defined in
src/model/workbench/panel.tsx:14
status
• Optional
status: "edited"
| (tab
: ITabProps
<any
, any
>) => Element
Inherited from
Defined in
src/components/tabs/tab.tsx:48
title
• Optional
title: string
The same as HTMLElement title attribute
Defined in
src/model/workbench/panel.tsx:8
toolbox
• Optional
toolbox: IActionBarItemProps
<any
>[]