@rjsf/validator-ajv6
Version:
The ajv-6 based validator for @rjsf/core
11 lines • 499 B
JavaScript
import AJV6Validator from './validator.js';
/** Creates and returns a customized implementation of the `ValidatorType` with the given customization `options` if
* provided.
*
* @param [options={}] - The `CustomValidatorOptionsType` options that are used to create the `ValidatorType` instance
* @deprecated in favor of the `@rjsf/validator-ajv8
*/
export default function customizeValidator(options = {}) {
return new AJV6Validator(options);
}
//# sourceMappingURL=customizeValidator.js.map