Props for the MetabotQuestion component.
Props for the MetabotQuestion component.
Optional
className?: stringA custom class name to be added to the root element.
Optional
height?: Height<string | number>A number or string specifying a CSS size value that specifies the height of the component
Optional
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.Optional
style?: CSSPropertiesA custom style object to be added to the root element.
Optional
width?: Width<string | number>A number or string specifying a CSS size value that specifies the width of the component
A component that renders a metabot question.