alexandrtovmach/react-figma-plugin-ds

Button does not accept type

lukasoppermann opened this issue · 1 comments

The button does not accept the type property, e.g. to set it to type="reset" form html forms (and validation).

The problem is, that the default button is set to "submit" that means any button will submit a form by default, changing it to type="button" would prevent this, but this is currently not possible with the component.

I am happy to submit a PR for this, if you want to merge it.