Skip to content

Commit cef75f2

Browse files
zouxuozerikras
authored andcommitted
Fix component prop type conflict (#284)
1 parent 2c7c695 commit cef75f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.js.flow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export type FormSpyRenderProps = {
6565
FormState
6666

6767
export type RenderableProps<T> = {
68+
component?: React.ComponentType<*>,
6869
children?: ((props: T) => React.Node) | React.Node,
69-
component?: React.ComponentType<*> | string,
7070
render?: (props: T) => React.Node
7171
}
7272

0 commit comments

Comments
 (0)