deriveRuleClassName()
deriveRuleClassName(
key:RuleClassnameKey,options:DeriveClassNamesOptions):string
Defined in: packages/core/src/utils/deriveClassNames.ts:256
The classname for a single element of a rule, composed from the same table as deriveRuleClassNames. Useful where only one is needed, such as the items of a multi-value editor.
Parameters
| Parameter | Type |
|---|---|
key | RuleClassnameKey |
options | DeriveClassNamesOptions |
Returns
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.