Skip to main content

deriveRuleClassNames()

deriveRuleClassNames(options: DeriveClassNamesOptions): Record<RuleClassnameKey, string>

Defined in: packages/core/src/utils/deriveClassNames.ts:245

Classnames for each element rendered by a rule. This is the framework-agnostic core of the classNames object returned by the useRule hook.

Parameters

ParameterType
optionsDeriveClassNamesOptions

Returns

Record<RuleClassnameKey, 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.