Type alias FieldFactory<T>

FieldFactory<T>: ((options: FieldOption) => Field<T>)

Type Parameters

  • T = string

    The type of value that the created field handles.

Type declaration

    • (options: FieldOption): Field<T>
    • FieldFactory represents a factory function that creates a Field instance for the given type.

      Returns

      A Field instance that handles values of type T.

      Parameters

      • options: FieldOption

        The configuration options for the field.

      Returns Field<T>

Generated using TypeDoc