Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-file-upload-preview) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
handleFileUpload(function) function to get the event of the uploaded file
inputId(string)
default="input-id"
input id for your input field
accept(string) ->
default = ".jpg, .jpeg, .png, .gif, .mp4, .avi, .mov, .pdf"
restrict types of file you want to upload
uploadTriggerClasses(string)
default=""
to add css to upload icon
labelContainerClasses(string)
default=""
to add css to label container
customPreviewUrl(string)
default="image"
custom Preview URL
customFileType(string)
default="image"
to initialize and prefill the image/video/pdf
customUploadIcon(string)
default="image"
custom upload icon URL