All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.olvind.mui.muiMaterial.anon.PartialTypeText.scala Maven / Gradle / Ivy

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/styles/createPalette.TypeText> */
trait PartialTypeText extends StObject {
  
  var disabled: js.UndefOr[String] = js.undefined
  
  var primary: js.UndefOr[String] = js.undefined
  
  var secondary: js.UndefOr[String] = js.undefined
}
object PartialTypeText {
  
  inline def apply(): PartialTypeText = {
    val __obj = js.Dynamic.literal()
    __obj.asInstanceOf[PartialTypeText]
  }
  
  @scala.inline
  implicit open class MutableBuilder[Self <: PartialTypeText] (val x: Self) extends AnyVal {
    
    inline def setDisabled(value: String): Self = StObject.set(x, "disabled", value.asInstanceOf[js.Any])
    
    inline def setDisabledUndefined: Self = StObject.set(x, "disabled", js.undefined)
    
    inline def setPrimary(value: String): Self = StObject.set(x, "primary", value.asInstanceOf[js.Any])
    
    inline def setPrimaryUndefined: Self = StObject.set(x, "primary", js.undefined)
    
    inline def setSecondary(value: String): Self = StObject.set(x, "secondary", value.asInstanceOf[js.Any])
    
    inline def setSecondaryUndefined: Self = StObject.set(x, "secondary", js.undefined)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy