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.
8989
9090A render prop given the boolean flag.
9191
92- ### ` OnBlur `
92+ ### ` OnChange `
9393
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.
9595
9696#### ` name : String `
9797
9898The name of the field to listen to.
9999
100- #### ` children : () => void `
100+ #### ` children : (value : any , previous : any ) => void `
101101
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 .
103103
104- ### ` OnChange `
104+ ### ` OnFocus `
105105
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.
107107
108108#### ` name : String `
109109
110110The name of the field to listen to.
111111
112- #### ` children : (value : any , previous : any ) => void `
112+ #### ` children : () => void `
113113
114114A function that will be called whenever the specified field is changed. It is passed the new value and the previous value.
115115
116- ### ` OnFocus `
116+ ### ` OnBlur `
117117
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.
119119
120120#### ` name : String `
121121
122122The name of the field to listen to.
123123
124124#### ` children : () => void `
125125
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