Interface ChoiceRenderInstructions<Custom>

interface ChoiceRenderInstructions<Custom> {
    custom: Custom;
    disabled: boolean;
    id: string;
    value: any;
}

Type Parameters

  • Custom = any

Hierarchy

  • ItemRenderInstructions<Custom>
    • ChoiceRenderInstructions

Properties

Properties

custom: Custom

Any values that help you determine how to render the frontend UI.

disabled: boolean

Whether or not this item is disabled.

id: string

Item id.

value: any

Value of this choice. It will be used as answer of the question.