Yuvaleros/material-ui-dropzone

How to customise Submit / Cancel buttons?

gfox1984 opened this issue · 0 comments

Feature Request

Describe the problem related to this feature request

I would like to be able to customise the color and variant of the Submit and Cancel buttons, so that they integrate better within my UI (eg: I use color="primary" variant="contained" for Save buttons, and I don't specify color or variant for Cancel buttons)

Describe the solution you'd like

Add props to customise the Submit and Cancel buttons (either ButtonProps like submitButtonProps, or more specific props such as submitButtonColor, submitButtonVariant, etc.)

Describe alternatives you've considered

I considered using CSS to replicate the style of a button with the variant and color I'm after, but this is far from ideal (it defeats the purpose of using a MUI-friendly library)