Hiyve Components - v1.0.0
    Preparing search index...

    Props for the PollOption component.

    interface PollOptionProps {
        colors?: Partial<PollsWindowColors>;
        disabled?: boolean;
        isSelected: boolean;
        onClick?: () => void;
        option: PollOptionType;
        poll: Poll;
        showResults: boolean;
        styles?: Partial<PollsWindowStyles>;
    }
    Index

    Properties

    colors?: Partial<PollsWindowColors>

    Custom colors

    disabled?: boolean

    Whether voting is disabled

    isSelected: boolean

    Whether this option is selected

    onClick?: () => void

    Click handler

    Option data

    poll: Poll

    Parent poll

    showResults: boolean

    Whether to show results

    styles?: Partial<PollsWindowStyles>

    Custom styles