import React from 'react'; export declare type ExtraButtonCompType = { /** * 来源 */ source: 'editor' | 'engine'; /** * 点击按钮 * @param e 事件对象 * @returns */ onClick?: (e: React.MouseEvent) => void; buttonConfig: { /** * 按钮名称 */ title: string; /** * 图标位置 */ iconPos: 'left' | 'right'; /** * 默认按钮类型标识 */ type?: string; /** * id */ id: string; /** * 一般为调用方法名称 */ value: string; /** * 是否显示纯图标 */ isIcon?: boolean; /** * 图标配置信息 */ icon?: any; /** * 是否显示 */ checked: boolean; /** * 图标显隐规则 */ rule?: string | boolean; /** * 是否禁用 */ disabled?: boolean | string; /** * 提示浮窗配置 */ popoverSetting?: any; /** * 按钮主题 */ btnType?: 'primary' | 'link' | 'text' | 'ghost' | 'default' | 'dashed'; /** * 按钮尺寸 */ btnSize: 'default' | 'small'; }; compProps: { /** * 图标控件所需能力 */ $$componentItem: any; getEngineApis: any; engineApis: any; getEdEngineApi: any; sandBoxSafeRun: any; [key: string]: any; }; /** * 按钮样式 */ style?: React.CSSProperties; /** * 按钮类 */ className?: string; }; declare const ExtraButtonComp: React.FC; export default ExtraButtonComp;