import { FunctionComponent, ReactNode, CSSProperties } from 'react'; import { ImageProps as TImageProps } from '@tarojs/components'; export interface ImageProps extends Omit { style?: CSSProperties; /** * 宽度,默认单位px * @default - */ width: string | number /** * 高度,默认单位px * @default - */ height: string | number /** * 圆角大小 * @default - */ radius: string | number /** * 是否展示图片加载失败 * @default true */ error: boolean | ReactNode /** * 是否展示加载中图片 * @default true */ loading: boolean | ReactNode } export declare const Image: FunctionComponent>;