@fakel/rest-admin
Version:
An application that makes it easier to work with your API
19 lines (18 loc) • 685 B
TypeScript
import React from 'react';
import { AntFieldProps } from '../../@types';
import { InputProps } from './Input';
import { GetImagesFunction, UploadHandler } from '../Gallery/Gallery';
import { GetPreviewImage } from '../Gallery/GallerySelected';
interface GalleryInputdProps extends InputProps {
resource?: string;
getImages?: GetImagesFunction;
defaultPerPage?: number;
uploadHandler: UploadHandler;
isMultiple?: boolean;
buttonText?: string;
mapToReturnValues?: (images: any) => any;
getPreviewImage?: GetPreviewImage;
showSelectAll?: boolean;
}
declare const GalleryInput: React.FC<GalleryInputdProps & AntFieldProps>;
export default GalleryInput;