Skip to main content

TabToolbarControlsRenderer

react-mosaic-component


react-mosaic-component / TabToolbarControlsRenderer

Type Alias: TabToolbarControlsRenderer<T>

TabToolbarControlsRenderer<T> = (ctx) => React.ReactNode

Defined in: libs/react-mosaic-component/src/lib/types.ts:249

A function that renders the right-hand controls in the default tab bar — including the add button, split, remove, and any custom buttons. Compose from DefaultAddTabButton, TabSplitButton, TabRemoveButton, or your own elements. The library continues to own the tab-group drag handle and all drop targets.

Type Parameters​

T​

T extends MosaicKey

Parameters​

ctx​

TabGroupContext<T>

Returns​

React.ReactNode