Interface: IEditorTab<T>
Type parameters
| Name | Type |
|---|---|
T | BuiltInEditorTabDataType |
Hierarchy
ITabProps<T>↳
IEditorTab
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
breadcrumb
• Optional breadcrumb: IBreadcrumbItemProps[]
Defined in
src/model/workbench/editor.ts:41
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
Inherited from
Defined in
src/components/tabs/tab.tsx:53
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
status
• Optional status: "edited" | (tab: ITabProps<any, any>) => Element