嵌入式分析 SDK API
    正在准备搜索索引...

    函数 MetabotQuestion

    • 渲染 Metabot 问题的组件。

      参数

      • props: MetabotQuestionProps

        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大小值,用于指定组件的宽度

      返回 Element

    © . This site is unofficial and not affiliated with Metabase, Inc.