Jelajahi Sumber

docs: fix typo in baseForm.tsx

- formS tate.values -> formState.values
ivan0525 4 tahun lalu
induk
melakukan
9afd66511a
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      packages/semi-ui/form/baseForm.tsx

+ 2 - 2
packages/semi-ui/form/baseForm.tsx

@@ -54,7 +54,7 @@ class Form extends BaseComponent<BaseFormProps, BaseFormState> {
         /* Triggered from update, including field mount/unmount/value change/blur/verification status change/error prompt change, input parameter is formState, currentField */
         onChange: PropTypes.func,
         onReset: PropTypes.func,
-        // Triggered when the value of the form is updated, only when the value of the subfield changes. The entry parameter is formS tate.values
+        // Triggered when the value of the form is updated, only when the value of the subfield changes. The entry parameter is formState.values
         onValueChange: PropTypes.func,
         initValues: PropTypes.object,
         getFormApi: PropTypes.func,
@@ -288,4 +288,4 @@ class Form extends BaseComponent<BaseFormProps, BaseFormState> {
     }
 }
 
-export default Form;
+export default Form;