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
| Parameter | Type |
|---|---|
options | DeriveClassNamesOptions |
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.