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

    Props for the PollHeader component.

    interface PollHeaderProps {
        colors?: Partial<PollsWindowColors>;
        labels?: Partial<PollsWindowLabels>;
        poll: Poll;
        renderProps?: PollsWindowRenderProps;
        serverTimeOffset?: number;
        showStatus?: boolean;
        showTimeRemaining?: boolean;
    }
    Index

    Properties

    colors?: Partial<PollsWindowColors>

    Custom colors

    labels?: Partial<PollsWindowLabels>

    Custom labels

    poll: Poll

    Poll data

    Render props

    serverTimeOffset?: number

    Server time offset in ms for timer synchronization (default: 0)

    showStatus?: boolean

    Show status badge

    showTimeRemaining?: boolean

    Show time remaining