com.olvind.mui.react.anon.scala Maven / Gradle / Ivy
package com.olvind.mui.react
import slinky.core.facade.ReactElement
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
object anon {
trait Children extends StObject {
var children: js.UndefOr[ReactElement] = js.undefined
}
object Children {
inline def apply(): Children = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[Children]
}
@scala.inline
implicit open class MutableBuilder[Self <: Children] (val x: Self) extends AnyVal {
inline def setChildren(value: ReactElement): Self = StObject.set(x, "children", value.asInstanceOf[js.Any])
inline def setChildrenUndefined: Self = StObject.set(x, "children", js.undefined)
}
}
trait Html extends StObject {
var __html: String
}
object Html {
inline def apply(__html: String): Html = {
val __obj = js.Dynamic.literal(__html = __html.asInstanceOf[js.Any])
__obj.asInstanceOf[Html]
}
@scala.inline
implicit open class MutableBuilder[Self <: Html] (val x: Self) extends AnyVal {
inline def set__html(value: String): Self = StObject.set(x, "__html", value.asInstanceOf[js.Any])
}
}
@js.native
trait UNDEFINEDVOIDONLY extends StObject
}