This repository was archived by the owner on Mar 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export type Props = {|
3737 + className ?: string ,
3838 + action ?: string ,
3939 + method ?: string ,
40- + autocomplete : "on" | "off" ,
40+ + autoComplete : "on" | "off" ,
4141| } ;
4242
4343function Form ( {
@@ -46,23 +46,23 @@ function Form({
4646 action,
4747 method,
4848 onSubmit,
49- autocomplete ,
49+ autoComplete ,
5050} : Props ) : React . Node {
5151 return (
5252 < form
5353 className = { className }
5454 onSubmit = { onSubmit }
5555 action = { action }
5656 method = { method }
57- autocomplete = { autocomplete }
57+ autoComplete = { autoComplete }
5858 >
5959 { children }
6060 </ form >
6161 ) ;
6262}
6363
6464Form . defaultProps = {
65- autocomplete : "off" ,
65+ autoComplete : "off" ,
6666} ;
6767
6868Form . Group = FormGroup ;
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ type FormStyle = {|
3030 + value ? : string | number ,
3131 + min ? : string | number ,
3232 + max ? : string | number ,
33- + minlength ? : string | number ,
34- + maxlength ? : string | number ,
33+ + minLength ? : string | number ,
34+ + maxLength ? : string | number ,
3535 + disabled ? : boolean ,
3636 + readOnly ? : boolean ,
3737 + autoFocus ? : boolean ,
@@ -74,8 +74,8 @@ function FormInput(props: Props): React.Node {
7474 value,
7575 min,
7676 max,
77- minlength ,
78- maxlength ,
77+ minLength ,
78+ maxLength ,
7979 checked,
8080 onChange,
8181 onMouseEnter,
@@ -120,8 +120,8 @@ function FormInput(props: Props): React.Node {
120120 value,
121121 min,
122122 max,
123- minlength ,
124- maxlength ,
123+ minLength ,
124+ maxLength ,
125125 disabled,
126126 readOnly,
127127 autoFocus,
You can’t perform that action at this time.
0 commit comments