Skip to content

useClassNames

Function: useClassNames()

taipy-gui JS module APIDocs


taipy-gui JS module API / useClassNames

useClassNames(libClassName?, dynamicClassName?, className?): string

A React hook to manage classNames (dynamic and static). cf. useDynamicProperty

Parameters

libClassName?: string

The default static className.

dynamicClassName?: string

The bound className.

className?: string

The default user set className.

Returns

string

The complete list of applicable classNames.