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

    Interface PollsWindowHeaderProps

    Props for the PollsWindowHeader component.

    interface PollsWindowHeaderProps {
        canCreate: boolean;
        colors?: Partial<PollsWindowColors>;
        icons?: Partial<PollsWindowIcons>;
        isOwner: boolean;
        labels?: Partial<PollsWindowLabels>;
        onCreateClick: () => void;
        pollCount: number;
        styles?: Partial<PollsWindowStyles>;
        title: string;
    }
    Index

    Properties

    canCreate: boolean

    Whether create is allowed

    colors?: Partial<PollsWindowColors>

    Custom colors

    icons?: Partial<PollsWindowIcons>

    Custom icons

    isOwner: boolean

    Whether current user is owner

    labels?: Partial<PollsWindowLabels>

    Custom labels

    onCreateClick: () => void

    Create button handler

    pollCount: number

    Poll count

    styles?: Partial<PollsWindowStyles>

    Custom styles

    title: string

    Header title