MetabotQuestion 组件的 props。
MetabotQuestion 组件的 props。
可选className?: string要添加到根元素的自定义类名。
Optionalheight?: Height<string | number>一个数字或字符串,指定CSS大小值,用于指定组件的高度
Optionallayout?: "auto" | "sidebar" | "stacked"MetabotQuestion 组件的布局。
auto (默认): Metabot 在移动屏幕上使用 stacked 布局,在较大屏幕上使用 sidebar 布局。stacked: 问题可视化堆叠在聊天界面之上。sidebar: 问题可视化显示在聊天界面的左侧,聊天界面在右侧的侧边栏中。可选style?: CSSProperties要添加到根元素的自定义样式对象。
Optionalwidth?: Width<string | number>一个数字或字符串,指定CSS大小值,用于指定组件的宽度
渲染 Metabot 问题的组件。