We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 047a94b + 317779b commit f3b83d3Copy full SHA for f3b83d3
src/components/Button.js
@@ -189,8 +189,10 @@ Button.propTypes = {
189
target: PropTypes.string,
190
191
/**
192
- * The default behavior of the button. Possible values are: button, reset,
193
- * submit
+ * The default behavior of the button. Possible values are: "button", "reset",
+ * "submit". If left unspecified the default depends on usage: for buttons
194
+ * associated with a form (e.g. a dbc.Button inside a dbc.Form) the default is
195
+ * "submit". Otherwise the default is "button".
196
*/
197
type: PropTypes.oneOf(['button', 'reset', 'submit']),
198
0 commit comments