Represents the properties for a rating field component.

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

Type Parameters

  • Data = IAnything

    The type of data for the field.

  • Payload = IAnything

    The type of payload for the field.

Properties

disabled?: boolean

Represents the disabled property of an input field.

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

Represents the groupRef property of the IField object.

readonly?: boolean

Retrieves the 'readonly' property value of a given field.

The field object to retrieve the property from.

  • The value of the 'readonly' property.