-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
12 deletions.
There are no files selected for viewing
26 changes: 14 additions & 12 deletions
26
reactSelect/src/main/scala/io/github/nafg/scalajs/facades/reactselect/ReactSelectRaw.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
package io.github.nafg.scalajs.facades.reactselect | ||
|
||
import scala.scalajs.js | ||
import scala.scalajs.js.annotation.{JSImport, JSName} | ||
import scala.scalajs.js.annotation.JSImport | ||
|
||
|
||
@js.native | ||
@JSImport("react-select", JSImport.Namespace) | ||
object ReactSelectRaw extends js.Any { | ||
@JSName(JSImport.Default) | ||
val Select: js.Any = js.native | ||
@JSName("Async") | ||
val SelectAsync: js.Any = js.native | ||
@JSName("Creatable") | ||
val SelectCreatable: js.Any = js.native | ||
@JSName("AsyncCreatable") | ||
val SelectAsyncCreatable: js.Any = js.native | ||
object ReactSelectRaw { | ||
@js.native | ||
@JSImport("react-select", JSImport.Default) | ||
object Select extends js.Object | ||
@js.native | ||
@JSImport("react-select/async", JSImport.Default) | ||
object SelectAsync extends js.Object | ||
@js.native | ||
@JSImport("react-select/creatable", JSImport.Default) | ||
object SelectCreatable extends js.Object | ||
@js.native | ||
@JSImport("react-select/async-creatable", JSImport.Default) | ||
object SelectAsyncCreatable extends js.Object | ||
} |