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
Fix Flow typings for UseFieldConfig and FieldProps (#503)
There was a mismatch between the source code and Flow typings which led to the following error:
```js
<Field
name={name}
component={SomeCustomInputComponent}
/* ^^^ Flow error here:
Cannot create Field element because in property component:
• Either function [1] is incompatible with string literal
input [2].
• Or function [1] is incompatible with string literal
select [3].
• Or function [1] is incompatible with string literal
textarea [4].
*/
```
0 commit comments