TabCanCloseFunction
react-mosaic-component / TabCanCloseFunction
Type Alias: TabCanCloseFunction<T>
TabCanCloseFunction<
T> = (tabKey,tabs,index,path) =>TabCloseState
Defined in: libs/react-mosaic-component/src/lib/types.ts:145
A function that determines whether a tab can be closed.
Type Parameters
T
T extends MosaicKey
Parameters
tabKey
T
tabs
T[]
index
number