Home > react > useValidator
Signature:
export declare function useValidator<T>(data: T, dataDeps: DependencyList, schema: UseValidatorSchema<T>, schemaDeps?: DependencyList): UseValidatorResult<T>;
Parameter | Type | Description |
---|---|---|
data | T | |
dataDeps | DependencyList | |
schema | UseValidatorSchema<T> | |
schemaDeps | DependencyList | (Optional) |
Returns: