Interface InputField

An Input field to take input from the user.

interface InputField {
    label: string;
    name: string;
    placeholder: string;
    required: string;
    type: string;
}

Properties

label: string

The label of the field.

name: string

Key name of the field.

placeholder: string

The placeholder of the field.

required: string

Whether the field is required.

type: string

Input type of the field.