deriveRuleGroupClassNames()
deriveRuleGroupClassNames(
options:DeriveClassNamesOptions&DndClassNameState):Record<RuleGroupClassnameKey,string>
Defined in: packages/core/src/utils/deriveClassNames.ts:268
Classnames for each element rendered by a rule group, including its conditionally-classed
header. This is the framework-agnostic core of the classNames object returned by the
useRuleGroup hook.
Parameters
| Parameter | Type |
|---|---|
options | DeriveClassNamesOptions & DndClassNameState |
Returns
Record<RuleGroupClassnameKey, string>
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.