Constructor
# <DropZoneItem />
Single uploaded file. Usually it is used within DropZone, but it can also be reused anywhere
View Source admin-bro/src/frontend/components/design-system/molecules/drop-zone/drop-zone-item.tsx, line 31
Example
Type Definitions
object
# DropZoneItemProps
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
file |
File |
<optional> |
Actual file buffer |
onRemove |
function |
<optional> |
Handler function triggered after clicking remove |
src |
string |
<optional> |
Preview image. If |
filename |
string |
<optional> |
filename. If 'file' is given it overrides what was given as a |