
com.olvind.mui.muiMaterial.dividerDividerClassesMod.scala Maven / Gradle / Ivy
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 dividerDividerClassesMod {
@JSImport("@mui/material/Divider/dividerClasses", JSImport.Namespace)
@js.native
val ^ : js.Any = js.native
@JSImport("@mui/material/Divider/dividerClasses", JSImport.Default)
@js.native
val default: DividerClasses = js.native
inline def getDividerUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getDividerUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
type DividerClassKey = "root" | "absolute" | "inset" | "fullWidth" | "light" | "middle" | "vertical" | "flexItem" | "withChildren" | "withChildrenVertical" | "textAlignRight" | "textAlignLeft" | "wrapper" | "wrapperVertical"
trait DividerClasses extends StObject {
/** Styles applied to the root element if `absolute={true}`. */
var absolute: String
/** Styles applied to the root element if `flexItem={true}`. */
var flexItem: String
/** Styles applied to the root element if `variant="fullWidth"`. */
var fullWidth: String
/** Styles applied to the root element if `variant="inset"`. */
var inset: String
/** Styles applied to the root element if `light={true}`. */
var light: String
/** Styles applied to the root element if `variant="middle"`. */
var middle: String
/** Styles applied to the root element. */
var root: String
/** Styles applied to the root element if `textAlign="left" orientation="horizontal"`. */
var textAlignLeft: String
/** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
var textAlignRight: String
/** Styles applied to the root element if `orientation="vertical"`. */
var vertical: String
/** Styles applied to the root element if divider have text. */
var withChildren: String
/** Styles applied to the root element if divider have text and `orientation="vertical"`. */
var withChildrenVertical: String
/** Styles applied to the span children element if `orientation="horizontal"`. */
var wrapper: String
/** Styles applied to the span children element if `orientation="vertical"`. */
var wrapperVertical: String
}
object DividerClasses {
inline def apply(
absolute: String,
flexItem: String,
fullWidth: String,
inset: String,
light: String,
middle: String,
root: String,
textAlignLeft: String,
textAlignRight: String,
vertical: String,
withChildren: String,
withChildrenVertical: String,
wrapper: String,
wrapperVertical: String
): DividerClasses = {
val __obj = js.Dynamic.literal(absolute = absolute.asInstanceOf[js.Any], flexItem = flexItem.asInstanceOf[js.Any], fullWidth = fullWidth.asInstanceOf[js.Any], inset = inset.asInstanceOf[js.Any], light = light.asInstanceOf[js.Any], middle = middle.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], textAlignLeft = textAlignLeft.asInstanceOf[js.Any], textAlignRight = textAlignRight.asInstanceOf[js.Any], vertical = vertical.asInstanceOf[js.Any], withChildren = withChildren.asInstanceOf[js.Any], withChildrenVertical = withChildrenVertical.asInstanceOf[js.Any], wrapper = wrapper.asInstanceOf[js.Any], wrapperVertical = wrapperVertical.asInstanceOf[js.Any])
__obj.asInstanceOf[DividerClasses]
}
@scala.inline
implicit open class MutableBuilder[Self <: DividerClasses] (val x: Self) extends AnyVal {
inline def setAbsolute(value: String): Self = StObject.set(x, "absolute", value.asInstanceOf[js.Any])
inline def setFlexItem(value: String): Self = StObject.set(x, "flexItem", value.asInstanceOf[js.Any])
inline def setFullWidth(value: String): Self = StObject.set(x, "fullWidth", value.asInstanceOf[js.Any])
inline def setInset(value: String): Self = StObject.set(x, "inset", value.asInstanceOf[js.Any])
inline def setLight(value: String): Self = StObject.set(x, "light", value.asInstanceOf[js.Any])
inline def setMiddle(value: String): Self = StObject.set(x, "middle", value.asInstanceOf[js.Any])
inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
inline def setTextAlignLeft(value: String): Self = StObject.set(x, "textAlignLeft", value.asInstanceOf[js.Any])
inline def setTextAlignRight(value: String): Self = StObject.set(x, "textAlignRight", value.asInstanceOf[js.Any])
inline def setVertical(value: String): Self = StObject.set(x, "vertical", value.asInstanceOf[js.Any])
inline def setWithChildren(value: String): Self = StObject.set(x, "withChildren", value.asInstanceOf[js.Any])
inline def setWithChildrenVertical(value: String): Self = StObject.set(x, "withChildrenVertical", value.asInstanceOf[js.Any])
inline def setWrapper(value: String): Self = StObject.set(x, "wrapper", value.asInstanceOf[js.Any])
inline def setWrapperVertical(value: String): Self = StObject.set(x, "wrapperVertical", value.asInstanceOf[js.Any])
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy