Type alias LLWidgetOptionProps

LLWidgetOptionProps: ComponentStyleProp<LLWidgetOptionStyles> & {
    OptionResultBarComponent?: typeof LLWidgetOptionResultBar;
    OptionResultBarComponentStyles?: LLWidgetOptionResultBarProps["styles"];
    correctOption?: boolean;
    onOptionChange: ((optionIndex) => void);
    optionDisabled: boolean;
    optionImage?: string;
    optionIndex: number;
    optionText?: string;
    percentage: number;
    selectedOptionIndex: number;
    showWidgetResult: boolean;
}

Type declaration

  • Optional OptionResultBarComponent?: typeof LLWidgetOptionResultBar
  • Optional OptionResultBarComponentStyles?: LLWidgetOptionResultBarProps["styles"]
  • Optional correctOption?: boolean
  • onOptionChange: ((optionIndex) => void)
      • (optionIndex): void
      • Parameters

        • optionIndex: number

        Returns void

  • optionDisabled: boolean
  • Optional optionImage?: string
  • optionIndex: number
  • Optional optionText?: string
  • percentage: number
  • selectedOptionIndex: number
  • showWidgetResult: boolean

Generated using TypeDoc