com.olvind.mui.muiMaterial.stepButtonStepButtonClassesMod.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
object stepButtonStepButtonClassesMod {
@JSImport("@mui/material/StepButton/stepButtonClasses", JSImport.Namespace)
@js.native
val ^ : js.Any = js.native
@JSImport("@mui/material/StepButton/stepButtonClasses", JSImport.Default)
@js.native
val default: StepButtonClasses = js.native
inline def getStepButtonUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getStepButtonUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
type StepButtonClassKey = "root" | "horizontal" | "vertical" | "touchRipple"
trait StepButtonClasses extends StObject {
/** Styles applied to the root element if `orientation="horizontal"`. */
var horizontal: String
/** Styles applied to the root element. */
var root: String
/** Styles applied to the `ButtonBase` touch-ripple. */
var touchRipple: String
/** Styles applied to the root element if `orientation="vertical"`. */
var vertical: String
}
object StepButtonClasses {
inline def apply(horizontal: String, root: String, touchRipple: String, vertical: String): StepButtonClasses = {
val __obj = js.Dynamic.literal(horizontal = horizontal.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], touchRipple = touchRipple.asInstanceOf[js.Any], vertical = vertical.asInstanceOf[js.Any])
__obj.asInstanceOf[StepButtonClasses]
}
@scala.inline
implicit open class MutableBuilder[Self <: StepButtonClasses] (val x: Self) extends AnyVal {
inline def setHorizontal(value: String): Self = StObject.set(x, "horizontal", value.asInstanceOf[js.Any])
inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
inline def setTouchRipple(value: String): Self = StObject.set(x, "touchRipple", value.asInstanceOf[js.Any])
inline def setVertical(value: String): Self = StObject.set(x, "vertical", value.asInstanceOf[js.Any])
}
}
}