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

    Props for the AnswerSection component.

    interface AnswerSectionProps {
        colors: QAPanelColors;
        disabled?: boolean;
        icons: QAPanelIcons;
        isAnswering: boolean;
        isOwner: boolean;
        labels: QAPanelLabels;
        localUserId: string;
        onAnswer: (content: string) => void;
        onToggleAnswering: () => void;
        question: Question;
        renderProps?: QAPanelRenderProps;
        styles: QAPanelStyles;
    }
    Index

    Properties

    Colors configuration

    disabled?: boolean

    Whether the panel is disabled

    Icons configuration

    isAnswering: boolean

    Whether the user is currently answering this question

    isOwner: boolean

    Whether the current user is the room owner

    Labels configuration

    localUserId: string

    Current user's ID

    onAnswer: (content: string) => void

    Callback when answer is submitted

    onToggleAnswering: () => void

    Callback to toggle answering mode

    question: Question

    The parent question

    renderProps?: QAPanelRenderProps

    Render props for customization

    Styles configuration