You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** If true, this means the parent <form> is pending submission. Otherwise, false. */
67
+
pending: bool,
68
+
/** An object implementing the FormData interface that contains the data the parent <form> is submitting. If there is no active submission or no parent <form>, it will be null. */
69
+
data: FormData.t,
70
+
/** This represents whether the parent <form> is submitting with either a GET or POST HTTP method. By default, a <form> will use the GET method and can be specified by the method property. */
71
+
method: [#get | #post],
72
+
/** A reference to the function passed to the action prop on the parent <form>. If there is no parent <form>, the property is null. If there is a URI value provided to the action prop, or no action prop specified, status.action will be null. */
73
+
action: React.action<'state, FormData.t>,
74
+
}
75
+
76
+
/** `useFormStatus` is a Hook that gives you status information of the last form submission. */
0 commit comments