import { default as React } from 'react'; import { PopoverProps, TooltipProps } from 'antd'; import { BaseComponentProps } from '../../typings'; export interface OnChainIconProps extends BaseComponentProps { /** 图标名称 */ type: string; /** true(icon-) false(icon-front-) */ isBackend?: boolean; /** 国际化语言,控制不同语言的默认图标大小,English、ChineseSimplified */ languageApicode?: string; className?: string; disabled?: boolean; backgroundColor?: string; number?: number; style?: React.CSSProperties | undefined; divStyle?: any; color?: string; marginTop?: string; button?: boolean; tooltip?: TooltipProps; popover?: PopoverProps; placement?: string | boolean; onClick?: (e?: any) => void; onDivClick?: (event: React.MouseEvent) => void; onMouseEnter?: (event: React.MouseEvent) => void; onMouseLeave?: (event: React.MouseEvent) => void; /** 是否为鼠标停留显示删除的模式,有值则代表停留触发的毫秒数 */ isMouseHoldShowDeleteMode?: number; /** 点击了悬停出现删除的按钮 */ onClickHoldDelete?: () => void; } /** 单纯的ali图标 */ export declare const AliIconFontFn: (scriptUrl?: string) => any; declare const OnChainIcon: React.FC; export default OnChainIcon;