Skip to content

Commit cae7e05

Browse files
Remove component keyword warning
1 parent d098a72 commit cae7e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fable.React/Fable.Helpers.React.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ open Props
585585
open Fable.Import.React
586586

587587
[<Import("createElement", from="react")>]
588-
let createElement(component: obj, props: obj, [<ParamList>] children: obj) = jsNative
588+
let createElement(comp: obj, props: obj, [<ParamList>] children: obj) = jsNative
589589

590590
/// OBSOLETE: Use `ofType`
591591
[<System.Obsolete("Use ofType")>]

0 commit comments

Comments
 (0)