<CldUploadButton />
Configuration

CldUploadButton Configuration

Props

CldUploadButton inherits all of the props associated with the CldUploadWidget component including callback functions except for the children option.

In addition, the following props are available:

Prop NameTypeExample
classNamestring"my-button"
onClickfunctionfunction (event) { }

children are rendered "as is" inside of the <button> element if provided, otherwise, the button will include a label of "Upload".

The remaining props are spread onto the <button> element for full control of the UI.