Skip to content

Commit

Permalink
Merge pull request #54 from dispalt/fix-js-import
Browse files Browse the repository at this point in the history
Fix jsImport on the JS component side
  • Loading branch information
chandu0101 committed Jan 7, 2017
2 parents b59b652 + 492d9c7 commit a5fb8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/sri/core/React.scala
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private[core] class InternalReactComponent[P, S] extends js.Object {


@js.native
@JSName("React.Component")
@JSImport("react","Component")
private[core] class InternalReactJSComponent[P <: ReactJSProps, S] extends js.Object {


Expand Down Expand Up @@ -395,7 +395,7 @@ abstract class ReactComponentJS[P <: ReactJSProps, S] extends InternalReactJSCom
@ScalaJSDefined
abstract class ReactJSProps extends js.Object {
val key: js.UndefOr[String] = js.undefined
val ref: js.UndefOr[_ <: ReactComponentJS[_, _] => _] = js.undefined
val ref: UndefOr[js.Function] = js.undefined
val children: js.UndefOr[PropsChildren] = undefined
}

Expand Down

0 comments on commit a5fb8db

Please sign in to comment.