mobile-more
Version:
基于 antd-mobile v5 扩展移动端 UI 组件
14 lines (13 loc) • 402 B
TypeScript
import React from 'react';
import { SpaceProps } from 'antd-mobile';
import { BizImageProps } from '../BizImage';
type ImageValue = string | {
src: string;
name?: string;
};
export interface ImageFieldProps extends Omit<BizImageProps, 'src'> {
value?: ImageValue | ImageValue[];
spaceProps?: SpaceProps;
}
declare const ImageField: React.FC<ImageFieldProps>;
export default ImageField;