TabTitleRenderer
react-mosaic-component / TabTitleRenderer
Type Alias: TabTitleRenderer<T>
TabTitleRenderer<
T> = (props) =>React.ReactNode
Defined in: libs/react-mosaic-component/src/lib/types.ts:129
A function that renders the title content for a tab given its key and path. If not provided, the tabKey will be used as the title.
Type Parameters
T
T extends MosaicKey
Parameters
props
index
number
isActive
boolean
mosaicId
string
path
tabKey
T
Returns
React.ReactNode