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

    Props for the QuestionInput component.

    interface QuestionInputProps {
        allowAnonymous?: boolean;
        colors: QAPanelColors;
        disabled?: boolean;
        icons: QAPanelIcons;
        labels: QAPanelLabels;
        onSubmit: (content: string, anonymous: boolean) => void;
        styles: QAPanelStyles;
    }
    Index

    Properties

    allowAnonymous?: boolean

    Whether to show the anonymous checkbox

    Colors configuration

    disabled?: boolean

    Whether the input is disabled

    Icons configuration

    Labels configuration

    onSubmit: (content: string, anonymous: boolean) => void

    Callback when a question is submitted

    Styles configuration