1 | import type { FC, ReactNode } from 'react';
|
2 | import { TaskStatus } from './image-uploader';
|
3 | import type { ImageProps } from '../image';
|
4 | declare type Props = {
|
5 | onClick?: () => void;
|
6 | onDelete?: () => void;
|
7 | deletable: boolean;
|
8 | deleteIcon: ReactNode;
|
9 | url?: string;
|
10 | file?: File;
|
11 | status?: TaskStatus;
|
12 | imageFit: ImageProps['fit'];
|
13 | };
|
14 | declare const PreviewItem: FC<Props>;
|
15 | export default PreviewItem;
|