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
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