Skip to main content

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

ParameterType
keyRuleClassnameKey
optionsDeriveClassNamesOptions

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.