Type alias LLWidgetVoteOptionProps

LLWidgetVoteOptionProps: {
    OptionComponent?: typeof LLWidgetOption;
    OptionComponentStyles?: LLWidgetOptionProps["styles"];
    correctable?: boolean;
    onOptionChange: ((optionIndex) => void);
    optionIndex: number;
    selectedOptionIndex: number;
    widgetId: string;
}

Type declaration

  • Optional OptionComponent?: typeof LLWidgetOption
  • Optional OptionComponentStyles?: LLWidgetOptionProps["styles"]
  • Optional correctable?: boolean
  • onOptionChange: ((optionIndex) => void)
      • (optionIndex): void
      • Parameters

        • optionIndex: number

        Returns void

  • optionIndex: number
  • selectedOptionIndex: number
  • widgetId: string

Generated using TypeDoc