com.olvind.mui.muiMaterial.anon.Label.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial.anon
import com.olvind.mui.react.mod.HTMLProps
import org.scalajs.dom.HTMLSpanElement
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait Label extends StObject {
/**
* Props applied to the label element.
* @default {}
*/
var label: js.UndefOr[HTMLProps[HTMLSpanElement]] = js.undefined
}
object Label {
inline def apply(): Label = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[Label]
}
@scala.inline
implicit open class MutableBuilder[Self <: Label] (val x: Self) extends AnyVal {
inline def setLabel(value: HTMLProps[HTMLSpanElement]): Self = StObject.set(x, "label", value.asInstanceOf[js.Any])
inline def setLabelUndefined: Self = StObject.set(x, "label", js.undefined)
}
}