Skip to content

Commit b83de50

Browse files
ForbesLindesayerikras
authored andcommitted
RenderableProps component prop should still be given T (#124)
1 parent d097835 commit b83de50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface FormSpyRenderProps extends FormState, SubsetFormApi {}
5656

5757
export interface RenderableProps<T> {
5858
children?: ((props: T) => React.ReactNode) | React.ReactNode
59-
component?: React.ComponentType<FieldRenderProps> | string
59+
component?: React.ComponentType<T> | string
6060
render?: (props: T) => React.ReactNode
6161
}
6262

0 commit comments

Comments
 (0)