grid-pro.agthemetokenmapclassname
Home > @genesislcap/grid-pro > agThemeTokenMapClassname
agThemeTokenMapClassname() function
Generates the class name for a given Grid Pro theme name.
Signature:
agThemeTokenMapClassname: (themeName: string) => string
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
themeName |
string |
the Grid Pro theme name |
Returns:
string
the class name for the Grid Pro token map
Example
The result of this will be a class name that is applied to the grid part of GridPro template (actual content of the class comes from agThemeTokenMapCSS):
<span part="grid" class="ag-theme-genesis-rapid-dark">