We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d097835 commit b83de50Copy full SHA for b83de50
src/index.d.ts
@@ -56,7 +56,7 @@ export interface FormSpyRenderProps extends FormState, SubsetFormApi {}
56
57
export interface RenderableProps<T> {
58
children?: ((props: T) => React.ReactNode) | React.ReactNode
59
- component?: React.ComponentType<FieldRenderProps> | string
+ component?: React.ComponentType<T> | string
60
render?: (props: T) => React.ReactNode
61
}
62
0 commit comments