com.olvind.mui.muiMaterial.anon.PartialAlertClasses.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}
/* Inlined std.Partial<@mui/material.@mui/material/Alert/alertClasses.AlertClasses> */
trait PartialAlertClasses extends StObject {
var action: js.UndefOr[String] = js.undefined
var filled: js.UndefOr[String] = js.undefined
var filledError: js.UndefOr[String] = js.undefined
var filledInfo: js.UndefOr[String] = js.undefined
var filledSuccess: js.UndefOr[String] = js.undefined
var filledWarning: js.UndefOr[String] = js.undefined
var icon: js.UndefOr[String] = js.undefined
var message: js.UndefOr[String] = js.undefined
var outlined: js.UndefOr[String] = js.undefined
var outlinedError: js.UndefOr[String] = js.undefined
var outlinedInfo: js.UndefOr[String] = js.undefined
var outlinedSuccess: js.UndefOr[String] = js.undefined
var outlinedWarning: js.UndefOr[String] = js.undefined
var root: js.UndefOr[String] = js.undefined
var standard: js.UndefOr[String] = js.undefined
var standardError: js.UndefOr[String] = js.undefined
var standardInfo: js.UndefOr[String] = js.undefined
var standardSuccess: js.UndefOr[String] = js.undefined
var standardWarning: js.UndefOr[String] = js.undefined
}
object PartialAlertClasses {
inline def apply(): PartialAlertClasses = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[PartialAlertClasses]
}
@scala.inline
implicit open class MutableBuilder[Self <: PartialAlertClasses] (val x: Self) extends AnyVal {
inline def setAction(value: String): Self = StObject.set(x, "action", value.asInstanceOf[js.Any])
inline def setActionUndefined: Self = StObject.set(x, "action", js.undefined)
inline def setFilled(value: String): Self = StObject.set(x, "filled", value.asInstanceOf[js.Any])
inline def setFilledError(value: String): Self = StObject.set(x, "filledError", value.asInstanceOf[js.Any])
inline def setFilledErrorUndefined: Self = StObject.set(x, "filledError", js.undefined)
inline def setFilledInfo(value: String): Self = StObject.set(x, "filledInfo", value.asInstanceOf[js.Any])
inline def setFilledInfoUndefined: Self = StObject.set(x, "filledInfo", js.undefined)
inline def setFilledSuccess(value: String): Self = StObject.set(x, "filledSuccess", value.asInstanceOf[js.Any])
inline def setFilledSuccessUndefined: Self = StObject.set(x, "filledSuccess", js.undefined)
inline def setFilledUndefined: Self = StObject.set(x, "filled", js.undefined)
inline def setFilledWarning(value: String): Self = StObject.set(x, "filledWarning", value.asInstanceOf[js.Any])
inline def setFilledWarningUndefined: Self = StObject.set(x, "filledWarning", js.undefined)
inline def setIcon(value: String): Self = StObject.set(x, "icon", value.asInstanceOf[js.Any])
inline def setIconUndefined: Self = StObject.set(x, "icon", js.undefined)
inline def setMessage(value: String): Self = StObject.set(x, "message", value.asInstanceOf[js.Any])
inline def setMessageUndefined: Self = StObject.set(x, "message", js.undefined)
inline def setOutlined(value: String): Self = StObject.set(x, "outlined", value.asInstanceOf[js.Any])
inline def setOutlinedError(value: String): Self = StObject.set(x, "outlinedError", value.asInstanceOf[js.Any])
inline def setOutlinedErrorUndefined: Self = StObject.set(x, "outlinedError", js.undefined)
inline def setOutlinedInfo(value: String): Self = StObject.set(x, "outlinedInfo", value.asInstanceOf[js.Any])
inline def setOutlinedInfoUndefined: Self = StObject.set(x, "outlinedInfo", js.undefined)
inline def setOutlinedSuccess(value: String): Self = StObject.set(x, "outlinedSuccess", value.asInstanceOf[js.Any])
inline def setOutlinedSuccessUndefined: Self = StObject.set(x, "outlinedSuccess", js.undefined)
inline def setOutlinedUndefined: Self = StObject.set(x, "outlined", js.undefined)
inline def setOutlinedWarning(value: String): Self = StObject.set(x, "outlinedWarning", value.asInstanceOf[js.Any])
inline def setOutlinedWarningUndefined: Self = StObject.set(x, "outlinedWarning", js.undefined)
inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
inline def setRootUndefined: Self = StObject.set(x, "root", js.undefined)
inline def setStandard(value: String): Self = StObject.set(x, "standard", value.asInstanceOf[js.Any])
inline def setStandardError(value: String): Self = StObject.set(x, "standardError", value.asInstanceOf[js.Any])
inline def setStandardErrorUndefined: Self = StObject.set(x, "standardError", js.undefined)
inline def setStandardInfo(value: String): Self = StObject.set(x, "standardInfo", value.asInstanceOf[js.Any])
inline def setStandardInfoUndefined: Self = StObject.set(x, "standardInfo", js.undefined)
inline def setStandardSuccess(value: String): Self = StObject.set(x, "standardSuccess", value.asInstanceOf[js.Any])
inline def setStandardSuccessUndefined: Self = StObject.set(x, "standardSuccess", js.undefined)
inline def setStandardUndefined: Self = StObject.set(x, "standard", js.undefined)
inline def setStandardWarning(value: String): Self = StObject.set(x, "standardWarning", value.asInstanceOf[js.Any])
inline def setStandardWarningUndefined: Self = StObject.set(x, "standardWarning", js.undefined)
}
}