com.olvind.mui.muiMaterial.nativeSelectMod.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial
import com.olvind.mui.muiMaterial.nativeSelectNativeSelectClassesMod.NativeSelectClasses
import com.olvind.mui.muiMaterial.nativeSelectNativeSelectMod.NativeSelectProps
import com.olvind.mui.react.mod.global.JSX.Element
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
object nativeSelectMod {
@JSImport("@mui/material/NativeSelect", JSImport.Namespace)
@js.native
val ^ : js.Any = js.native
/**
* An alternative to `` with a much smaller bundle size footprint.
*
* Demos:
*
* - [Select](https://mui.com/material-ui/react-select/)
*
* API:
*
* - [NativeSelect API](https://mui.com/material-ui/api/native-select/)
* - inherits [Input API](https://mui.com/material-ui/api/input/)
*/
/* Inlined (props : @mui/material.@mui/material/NativeSelect/NativeSelect.NativeSelectProps): react.react..JSX.Element & { muiName :string} */
object default {
inline def apply(props: NativeSelectProps): Element = ^.asInstanceOf[js.Dynamic].apply(props.asInstanceOf[js.Any]).asInstanceOf[Element]
@JSImport("@mui/material/NativeSelect", JSImport.Default)
@js.native
val ^ : js.Any = js.native
@JSImport("@mui/material/NativeSelect", "default.muiName")
@js.native
def muiName: String = js.native
inline def muiName_=(x: String): Unit = ^.asInstanceOf[js.Dynamic].updateDynamic("muiName")(x.asInstanceOf[js.Any])
}
inline def getNativeSelectUtilityClasses(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getNativeSelectUtilityClasses")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
@JSImport("@mui/material/NativeSelect", "nativeSelectClasses")
@js.native
val nativeSelectClasses: NativeSelectClasses = js.native
}