com.olvind.mui.muiMaterial.anon.Dark.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial.anon
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait Dark extends StObject {
var dark: Double
var light: Double
}
object Dark {
inline def apply(dark: Double, light: Double): Dark = {
val __obj = js.Dynamic.literal(dark = dark.asInstanceOf[js.Any], light = light.asInstanceOf[js.Any])
__obj.asInstanceOf[Dark]
}
@scala.inline
implicit open class MutableBuilder[Self <: Dark] (val x: Self) extends AnyVal {
inline def setDark(value: Double): Self = StObject.set(x, "dark", value.asInstanceOf[js.Any])
inline def setLight(value: Double): Self = StObject.set(x, "light", value.asInstanceOf[js.Any])
}
}