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

    Props for the PollCreator component.

    interface PollCreatorProps {
        colors?: Partial<PollsWindowColors>;
        icons?: Partial<PollsWindowIcons>;
        labels?: Partial<PollCreatorLabels>;
        onClose: () => void;
        onCreate: (
            poll: Omit<Poll, "id" | "createdAt" | "results">,
            startImmediately: boolean,
        ) => void;
        open: boolean;
        styles?: Partial<PollsWindowStyles>;
    }
    Index

    Properties

    colors?: Partial<PollsWindowColors>

    Custom colors

    icons?: Partial<PollsWindowIcons>

    Custom icons

    labels?: Partial<PollCreatorLabels>

    Custom labels

    onClose: () => void

    Close handler

    onCreate: (
        poll: Omit<Poll, "id" | "createdAt" | "results">,
        startImmediately: boolean,
    ) => void

    Create handler

    open: boolean

    Whether the dialog is open

    styles?: Partial<PollsWindowStyles>

    Custom styles