interface ToolbarItemProps {
    activeViews?: DesignerViewType[];
    children?: ReactElement<any, string | JSXElementConstructor<any>>;
    className?: string;
    placement?: "center" | "left" | "right";
    style?: CSSProperties;
    type?: "divider";
    widgetProps?: object;
}

Hierarchy (view full)

Properties

activeViews?: DesignerViewType[]

工具箱展示的视图

children?: ReactElement<any, string | JSXElementConstructor<any>>
className?: string
placement?: "center" | "left" | "right"
style?: CSSProperties
type?: "divider"

类型

widgetProps?: object

如果 key 匹配到内置组件的话,传递给子节点的属性