com.olvind.mui.muiMaterial.accordionActionsAccordionActionsClassesMod.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 accordionActionsAccordionActionsClassesMod {
@JSImport("@mui/material/AccordionActions/accordionActionsClasses", JSImport.Namespace)
@js.native
val ^ : js.Any = js.native
@JSImport("@mui/material/AccordionActions/accordionActionsClasses", JSImport.Default)
@js.native
val default: AccordionActionsClasses = js.native
inline def getAccordionActionsUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getAccordionActionsUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
type AccordionActionsClassKey = "root" | "spacing"
trait AccordionActionsClasses extends StObject {
/** Styles applied to the root element. */
var root: String
/** Styles applied to the root element unless `disableSpacing={true}`. */
var spacing: String
}
object AccordionActionsClasses {
inline def apply(root: String, spacing: String): AccordionActionsClasses = {
val __obj = js.Dynamic.literal(root = root.asInstanceOf[js.Any], spacing = spacing.asInstanceOf[js.Any])
__obj.asInstanceOf[AccordionActionsClasses]
}
@scala.inline
implicit open class MutableBuilder[Self <: AccordionActionsClasses] (val x: Self) extends AnyVal {
inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
inline def setSpacing(value: String): Self = StObject.set(x, "spacing", value.asInstanceOf[js.Any])
}
}
}