Embedded analytics SDK API
    Preparing search index...

    Function MetabotQuestion

    • A component that renders a metabot question.

      Parameters

      • props: MetabotQuestionProps

        Props for the MetabotQuestion component.

        Props for the MetabotQuestion component.

        • OptionalclassName?: string

          A custom class name to be added to the root element.

        • Optionalheight?: Height<string | number>

          A number or string specifying a CSS size value that specifies the height of the component

        • Optionallayout?: "auto" | "sidebar" | "stacked"

          Layout for the MetabotQuestion component.

          • auto (default): Metabot uses the stacked layout on mobile screens, and a sidebar layout on larger screens.
          • stacked: the question visualization stacks on top of the chat interface.
          • sidebar: the question visualization appears to the left of the chat interface, which is on a sidebar on the right.
        • Optionalstyle?: CSSProperties

          A custom style object to be added to the root element.

        • Optionalwidth?: Width<string | number>

          A number or string specifying a CSS size value that specifies the width of the component

      Returns Element