Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / themeClassName

Function: themeClassName()

themeClassName(theme?, density?, palette?): string

The modifier classes a theme contributes, as one string. Composed ONCE per grid and handed to popup surfaces rendered outside the grid's DOM (portals, dialogs, the enterprise wrapper) — those cannot inherit the class through the cascade, and without it they render in the packaged palette while the grid behind them is in another one.

Parameters

theme?

GridThemeName

density?

GridDensity

palette?

GridPalette

Returns

string