Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to display text inside dropzone? #47

Open
serverlesspolska opened this issue Nov 17, 2017 · 1 comment
Open

How to display text inside dropzone? #47

serverlesspolska opened this issue Nov 17, 2017 · 1 comment

Comments

@serverlesspolska
Copy link

serverlesspolska commented Nov 17, 2017

How to display any text inside the dropzone and don't break onProgress function?

<DropzoneS3Uploader
        onFinish={this.handleFinishedUpload}
        s3Url={s3Url}
        maxSize={1024 * 1024 * 5}
        upload={uploadOptions}
>
     <p>Try dropping some files here, or click to select files to upload.</p>
</DropzoneS3Uploader>

adding <p> paragraph blocks somehow progress dispaly and also casues that after successful upload filename is not displayed inside the drop zone.

Basically I'd love to have something like that
image

How can I display text inside the dropzone and also have progress info and file name after the upload completes?

@dancrumb
Copy link

dancrumb commented May 2, 2018

At the moment, you cannot. Any content put inside the uploader replaces everything.

Probably warrants a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants