Pattern
Default button type contract
Explicitly choose button for non-submit actions inside forms.
Formal Syntax & Structure
react syntaxreact
type = "button"Working Example
Example Snippetreact
<Button type="submit">Save</Button>Explicitly choose button for non-submit actions inside forms.
type = "button"<Button type="submit">Save</Button>