OptionalallowAllow anonymous questions - hides author names (default: false)
OptionalautoAuto-save interval in milliseconds (default: 3000)
OptionalcolorsCustom colors
OptionaldisabledWhether the panel is disabled
OptionalenableEnable auto-save to file storage (default: false)
OptionalfileFile storage location (default: '/Questions')
OptionalfileCustom file name used when the session is auto-saved. The JSON extension
is appended automatically if missing. When omitted, the panel falls back
to an auto-generated <room>_questions_<timestamp>.json name.
OptionaliconsCustom icons
OptionalinitialInitial file ID for resuming auto-save to existing file
OptionalinitialInitial questions for pre-populating the panel
OptionallabelsCustom labels for i18n support
OptionalmaxMaximum height before scrolling
OptionalonCallback after successful auto-save
OptionalonCallback on auto-save error
OptionalonCallback when a new remote question arrives
OptionalonCallback when a question is answered
OptionalonCallback when a new question is posted locally
OptionalonCallback when questions change (for persistence)
OptionalownerOnly room owner can answer and delete questions (default: true)
OptionalreadRead-only mode - hides question input, disables upvoting/answering (for viewing saved sessions)
OptionalrenderRender props for advanced customization
OptionalresolvePer-author display-name resolver. Called for each question / answer
to produce the rendered author name. When provided, this is
preferred over the cached question.authorName / answer.authorName
stored on the persisted record — cached names go stale (or are
written as the raw participant userId when the host's identity
layer hasn't been wired to provide a real name yet) and the
resolver can apply nicknames, roster lookups, or any other
host-specific mapping.
Falls back through authorName → labels.unknownAuthor / anonymous
when the resolver returns undefined.
OptionalshowShow the header (default: true)
OptionalstylesCustom styles
OptionalsxMUI sx styling prop
OptionaltitleTitle for the Q&A header (default: 'Q&A')
Props for the QAPanel component.
Remarks
The QAPanel displays an interactive Q&A interface where participants can ask questions, upvote, and receive answers from the host.
Features:
Example
Basic usage inside HiyveProvider:
Example
With customization: