@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
12 lines (11 loc) • 447 B
TypeScript
import { FunctionComponent, ReactNode, CSSProperties } from 'react';
import { ImageProps as TImageProps } from '@tarojs/components';
export interface ImageProps extends Omit<TImageProps, 'style'> {
style?: CSSProperties;
width: string | number;
height: string | number;
radius: string | number;
error: boolean | ReactNode;
loading: boolean | ReactNode;
}
export declare const Image: FunctionComponent<Partial<ImageProps>>;