Skip to content

Footer and Header className prop #514

@davidbejarcaceres

Description

@davidbejarcaceres

Is your feature request related to a problem? Please describe.
We need a className prop for header/footer to be added to "dz-ui-header" "and dz-ui-footer".

Describe the solution you'd like
Add headerClassName footerClassName to specify custom className for header and footer like

<Dropzone
    headerClassName={"headerCustomClass"}
    footerClassName={"footerCustomClass"}
>
  ...
</Dropzone>

Additional context
I tried to specify more than 10 file types with "accept" prop, and the width of the footer is too long, we have a custom css class to wrap the words to prevent line goes offscreen, but there is no way to add our custom class to footer. You can see an example in the following image:
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions