Skip to content

Commit c74d294

Browse files
docs: capitalize 'Actions' in form.md
Capitalize React Actions concept per style guide (#6713). - 'actions' → 'Actions' when referring to the React concept - Keep lowercase for general programming terms and parameter names
1 parent a79354b commit c74d294

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/content/reference/react-dom/components

src/content/reference/react-dom/components/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Learn more about updating state from a form action with the [`useActionState`](/
334334

335335
### Handling multiple submission types {/*handling-multiple-submission-types*/}
336336

337-
Forms can be designed to handle multiple submission actions based on the button pressed by the user. Each button inside a form can be associated with a distinct action or behavior by setting the `formAction` prop.
337+
Forms can be designed to handle multiple submission Actions based on the button pressed by the user. Each button inside a form can be associated with a distinct action or behavior by setting the `formAction` prop.
338338

339339
When a user taps a specific button, the form is submitted, and a corresponding action, defined by that button's attributes and action, is executed. For instance, a form might submit an article for review by default but have a separate button with `formAction` set to save the article as a draft.
340340

0 commit comments

Comments
 (0)