DropzoneImages
Simple image upload that supports drag and drop or browsing. A proxy to react-dropzone with some default styles applied.
Props
children
Node
className
String
disabled
Bool
forwardedRef
Custom
onBtnConfirmClick
Func
onBtnResetClick
Func
placeholder
String
subtitle
String
"Only these images types can be uploaded: ".jpg", ".jpeg", ".png", ".bmp"."
txtBtnConfirm
String
"Upload"
txtBtnReset
String
"Clear all"
Examples
Default Usage
Drag and drop or browse your files
Only these images types can be uploaded: ".jpg", ".jpeg", ".png", ".bmp".
Control through the reference
Drag and drop or browse your files
Only these images types can be uploaded: ".jpg", ".jpeg", ".png", ".bmp".
Custom control buttons text
Drag and drop or browse your files
Only these images types can be uploaded: ".jpg", ".jpeg", ".png", ".bmp".
Custom Placeholder
Any content provided as children to this component will be rendered as the placeholder
Including other components!