getValidationClassNames()
getValidationClassNames(
validationResult
):""
|"queryBuilder-valid"
|"queryBuilder-invalid"
Gets the standard classname for valid or invalid components based on the given validation result.
Parameters
Parameter | Type |
---|---|
validationResult | boolean | ValidationResult |
Returns
""
| "queryBuilder-valid"
| "queryBuilder-invalid"
Defined in
packages/react-querybuilder/src/utils/getValidationClassNames.ts:8
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.