Interface representing props for the CheckboxField component.

interface ICheckboxFieldProps<Data = IAnything, Payload = IAnything> {
    disabled?: boolean;
    groupRef?: (element?: null | HTMLDivElement) => void;
    readonly?: boolean;
    title?: string;
}

Type Parameters

  • Data = IAnything

    The type of data for the field.

  • Payload = IAnything

    The type of payload for the field.

Hierarchy (View Summary)

Properties

disabled?: boolean

Represents the "disabled" property of a field in the given data payload.

The type of the data payload.

The type of the payload object.

The value of the "disabled" property.

groupRef?: (element?: null | HTMLDivElement) => void

Represents the optional property groupRef from the IField interface. The groupRef property is a subset of the PickProp type with the 'groupRef' key.

readonly?: boolean

Retrieves the value of the 'readonly' property from the given object.

The type of data stored in the field.

The type of payload used in the field.

The type of the field object.

The field object.

The value of the 'readonly' property from the field object.

title?: string

Retrieves the 'title' property from the given variable.

The type of the variable.

The key to pick from the variable.

The variable to pick the property from.

  • The picked property.