@frigade/react 1.32.23 → 1.32.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -349,6 +349,18 @@ interface FormInputType {
349
349
  title?: string;
350
350
  type: string;
351
351
  required?: boolean;
352
+ validation?: InputValidation;
353
+ }
354
+ interface InputValidation {
355
+ type: string;
356
+ requiredError?: string;
357
+ invalidTypeError?: string;
358
+ props?: InputValidationRuleProps[];
359
+ }
360
+ interface InputValidationRuleProps {
361
+ requirement: string;
362
+ value?: string | number;
363
+ message?: string;
352
364
  }
353
365
  interface FormInputProps {
354
366
  formInput: FormInputType;