Skip to content

@sibilance.is/client v0.1.0-alpha.4


@sibilance.is/client / react / SurveyMicButtonProps

Interface: SurveyMicButtonProps

Defined in: CmdPr/sibilance/client/src/components/SurveyMicButton.tsx:46

SurveyMicButton component props

Properties

PropertyTypeDescriptionDefined in
surveyIdstringSurvey ID to loadCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:48
position?"inline" | "bottom-right" | "bottom-left" | "top-right" | "top-left"Position on pageCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:51
showTree?booleanShow tree view buttonCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:54
showSettings?booleanShow settings buttonCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:57
showTreeOnComplete?booleanAuto-show tree view when survey completesCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:60
className?stringCustom stylesCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:63
zIndex?numberZ-index for positioningCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:66
onSurveyStart?() => voidCallbacksCmdPr/sibilance/client/src/components/SurveyMicButton.tsx:69
onSurveyComplete?(results) => void-CmdPr/sibilance/client/src/components/SurveyMicButton.tsx:70
onError?(error) => void-CmdPr/sibilance/client/src/components/SurveyMicButton.tsx:71
onTreeViewOpen?() => voidTree view open handler (controlled)CmdPr/sibilance/client/src/components/SurveyMicButton.tsx:74
onSettingsOpen?() => voidSettings open handler (controlled)CmdPr/sibilance/client/src/components/SurveyMicButton.tsx:77
__mock?SurveyMicButtonMockMock mode (dev-only for Storybook)CmdPr/sibilance/client/src/components/SurveyMicButton.tsx:80