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

    接口 MetabotQuestionProps

    MetabotQuestion 组件的 props。

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

    层级结构

    • CommonStylingProps
      • MetabotQuestionProps
    索引

    属性

    className?: string

    要添加到根元素的自定义类名。

    height?: Height<string | number>

    一个数字或字符串,指定CSS大小值,用于指定组件的高度

    layout?: "auto" | "sidebar" | "stacked"

    MetabotQuestion 组件的布局。

    • auto (默认): Metabot 在移动屏幕上使用 stacked 布局,在较大屏幕上使用 sidebar 布局。
    • stacked: 问题可视化堆叠在聊天界面之上。
    • sidebar: 问题可视化出现在聊天界面的左侧,聊天界面位于右侧的侧边栏。

    要添加到根元素的自定义样式对象。

    width?: Width<string | number>

    一个数字或字符串,指定CSS大小值,用于指定组件的宽度

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