Skip to main content
Version: 0.9.0-beta.2

Interface: IEditorTab<T>

molecule.model.IEditorTab

Type parameters

NameType
TBuiltInEditorTabDataType

Hierarchy

Properties

active

Optional active: boolean

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

Inherited from

ITabProps.active

Defined in

src/components/tabs/tab.tsx:38


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

ITabProps.closable

Defined in

src/components/tabs/tab.tsx:43


data

Optional data: T

Inherited from

ITabProps.data

Defined in

src/components/tabs/tab.tsx:53


editable

Optional editable: boolean

Mark the tab status to be editing

Inherited from

ITabProps.editable

Defined in

src/components/tabs/tab.tsx:47


icon

Optional icon: string | Element

Inherited from

ITabProps.icon

Defined in

src/components/tabs/tab.tsx:49


id

id: UniqueId

Inherited from

ITabProps.id

Defined in

src/components/tabs/tab.tsx:50


name

Optional name: string

Inherited from

ITabProps.name

Defined in

src/components/tabs/tab.tsx:51


renderPane

Optional renderPane: ReactNode | (item: any) => ReactNode

Inherited from

ITabProps.renderPane

Defined in

src/components/tabs/tab.tsx:52


status

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

Inherited from

ITabProps.status

Defined in

src/components/tabs/tab.tsx:48