import React from 'react'; /** * @memberof DropZoneItem * @alias DropZoneItemProps */ export declare type DropZoneItemProps = { /** * Actual file buffer */ file?: File; /** * Handler function triggered after clicking remove */ onRemove?: () => void; /** * Preview image. If `file` is given and it is a image then `src` will be * overridden by this image. */ src?: string; /** * filename. If 'file' is given it overrides what was given as a `filename` */ filename?: string; }; /** * @classdesc * * * * Single uploaded file. Usually it is used within {@link DropZone}, but it can also be * reused anywhere * * ### Usage * * ```javascript * import { DropZoneItem, DropZoneItemProps } from '@admin-bro/design-system' * ``` * * @see DropZoneItem * @hideconstructor * @see DropZoneItemProps * @example * return ( * * ) * @component * @subcategory Molecules * @section design-system */ declare const DropZoneItem: React.FC; export { DropZoneItem }; export default DropZoneItem;