Type alias ModalFields<FieldName>

ModalFields<FieldName>: Record<FieldName, {
    attributes?: Record<string, string>;
    label?: string;
    name?: string;
    pattern?: RegExp;
    patternError?: string;
    required?: boolean;
}>

Type Parameters

  • FieldName extends string

Type declaration

  • Optional attributes?: Record<string, string>
  • Optional label?: string
  • Optional name?: string
  • Optional pattern?: RegExp
  • Optional patternError?: string
  • Optional required?: boolean