com.olvind.mui.muiMaterial.anon.PickComponentsPropsListMuiAutocompletecl.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial.anon
import slinky.core.facade.ReactElement
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
/* Inlined std.Pick<@mui/material.@mui/material/styles/props.ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'> */
trait PickComponentsPropsListMuiAutocompletecl extends StObject {
var clearText: js.UndefOr[String] = js.undefined
var closeText: js.UndefOr[String] = js.undefined
var loadingText: js.UndefOr[ReactElement] = js.undefined
var noOptionsText: js.UndefOr[ReactElement] = js.undefined
var openText: js.UndefOr[String] = js.undefined
}
object PickComponentsPropsListMuiAutocompletecl {
inline def apply(): PickComponentsPropsListMuiAutocompletecl = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[PickComponentsPropsListMuiAutocompletecl]
}
@scala.inline
implicit open class MutableBuilder[Self <: PickComponentsPropsListMuiAutocompletecl] (val x: Self) extends AnyVal {
inline def setClearText(value: String): Self = StObject.set(x, "clearText", value.asInstanceOf[js.Any])
inline def setClearTextUndefined: Self = StObject.set(x, "clearText", js.undefined)
inline def setCloseText(value: String): Self = StObject.set(x, "closeText", value.asInstanceOf[js.Any])
inline def setCloseTextUndefined: Self = StObject.set(x, "closeText", js.undefined)
inline def setLoadingText(value: ReactElement): Self = StObject.set(x, "loadingText", value.asInstanceOf[js.Any])
inline def setLoadingTextUndefined: Self = StObject.set(x, "loadingText", js.undefined)
inline def setNoOptionsText(value: ReactElement): Self = StObject.set(x, "noOptionsText", value.asInstanceOf[js.Any])
inline def setNoOptionsTextUndefined: Self = StObject.set(x, "noOptionsText", js.undefined)
inline def setOpenText(value: String): Self = StObject.set(x, "openText", value.asInstanceOf[js.Any])
inline def setOpenTextUndefined: Self = StObject.set(x, "openText", js.undefined)
}
}