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

    Interface UseQASessionStateResult

    Return value from the useQASessionState hook.

    interface UseQASessionStateResult {
        clearNewQuestionBadge: () => void;
        hasActiveQASession: boolean;
        hasNewQuestion: boolean;
        questions: Question[];
    }
    Index

    Properties

    clearNewQuestionBadge: () => void

    Clear the new question badge (call when user views Q&A)

    hasActiveQASession: boolean

    Whether a Q&A session is active

    hasNewQuestion: boolean

    Whether there's a new question badge to show

    questions: Question[]

    Current list of questions