Skip to content

Commit

Permalink
Add missed ElementType (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky authored Aug 2, 2021
1 parent 228b4a7 commit 2d4edc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kotlin-react/src/main/kotlin/react/ComponentType.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package react

external interface ComponentType<in P : RProps>
external interface ComponentType<in P : RProps> : ElementType<P>
3 changes: 3 additions & 0 deletions kotlin-react/src/main/kotlin/react/ElementType.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package react

external interface ElementType<in P : Any>

0 comments on commit 2d4edc4

Please sign in to comment.