Commit 8666450
committed
docs: Describe default type attribute in Buttons documentation
MUI documentation does not describe default button's `type`, nor
explain that is it possible to set classic HTML attributes, so it is
easy to forget applying the correct button type when inside of a form
This is what happened on a previous PR when migrating from old
`react/deprecated/Button` to new `react/Buttons` as those components
have opposite default behaviors
Related PR: linagora/cozy-settings#6741 parent 7f785bd commit 8666450
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
2 | 10 | | |
3 | 11 | | |
| |||
0 commit comments