Skip to content

Instantly share code, notes, and snippets.

Lance Paine somanythings

Block or report user

Report or block somanythings

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@somanythings
somanythings / scalajsReactInterop.scala
Last active Sep 27, 2016
scalajs, react interaction with javascript
View scalajsReactInterop.scala
// Confusion over how to pass a scalajs defined component to a javascript defined component
object GriddleComponentWrapper {
// for customComponent I've tried js.Any, ReactComponentU
@ScalaJSDefined
class ColumnMeta(val columnName: String, val order: Int, val customComponent: ReactClass=null) extends js.Object
}
case class GriddleComponentWrapper(results: js.Any, //Seq[Map[String, Any]],
columns: Seq[String],
You can’t perform that action at this time.