Embedded analytics SDK API
    Preparing search index...

    Interface MetabotQuestionProps

    Props for the MetabotQuestion component.

    interface MetabotQuestionProps {
        className?: string;
        height?: Height<string | number>;
        layout?: "auto" | "sidebar" | "stacked";
        style?: CSSProperties;
        width?: Width<string | number>;
    }

    Hierarchy

    • CommonStylingProps
      • MetabotQuestionProps
    Index

    Properties

    className?: string

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

    height?: Height<string | number>

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

    layout?: "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.

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

    width?: Width<string | number>

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