File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -89,38 +89,38 @@ The name of the field to listen to.
89
89
90
90
A render prop given the boolean flag.
91
91
92
- ### ` OnBlur `
92
+ ### ` OnChange `
93
93
94
- Calls its ` children` callback whenever the specified field is blurred . It renders nothing.
94
+ Calls its ` children` callback whenever the specified field changes . It renders nothing.
95
95
96
96
#### ` name : String `
97
97
98
98
The name of the field to listen to.
99
99
100
- #### ` children : () => void `
100
+ #### ` children : (value : any , previous : any ) => void `
101
101
102
- A function that will be called whenever the specified field is blurred .
102
+ A function that will be called whenever the specified field is changed. It is passed the new value and the previous value .
103
103
104
- ### ` OnChange `
104
+ ### ` OnFocus `
105
105
106
- Calls its ` children` callback whenever the specified field changes . It renders nothing.
106
+ Calls its ` children` callback whenever the specified field becomes active . It renders nothing.
107
107
108
108
#### ` name : String `
109
109
110
110
The name of the field to listen to.
111
111
112
- #### ` children : (value : any , previous : any ) => void `
112
+ #### ` children : () => void `
113
113
114
114
A function that will be called whenever the specified field is changed. It is passed the new value and the previous value.
115
115
116
- ### ` OnFocus `
116
+ ### ` OnBlur `
117
117
118
- Calls its ` children` callback whenever the specified field becomes active . It renders nothing.
118
+ Calls its ` children` callback whenever the specified field is blurred . It renders nothing.
119
119
120
120
#### ` name : String `
121
121
122
122
The name of the field to listen to.
123
123
124
124
#### ` children : () => void `
125
125
126
- A function that will be called whenever the specified field becomes active .
126
+ A function that will be called whenever the specified field is blurred .
You can’t perform that action at this time.
0 commit comments