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

com.olvind.mui.muiBase.components.Apply.scala Maven / Gradle / Ivy

There is a newer version: 5.11.16
Show newest version
package com.olvind.mui.muiBase.components

import com.olvind.mui.muiBase.selectUnstyledSelectUnstyledDottypesMod.SelectUnstyledTypeMap
import com.olvind.mui.muiTypes.mod.DefaultComponentProps
import com.olvind.mui.StyledComponent.Builder
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

object Apply {
  
  inline def apply[TValue /* <: js.Object */](): SharedBuilder_DefaultComponentProps1544830250[TValue] = {
    val __props = js.Dynamic.literal()
    new SharedBuilder_DefaultComponentProps1544830250[TValue](js.Array(this.component, __props.asInstanceOf[DefaultComponentProps[SelectUnstyledTypeMap[TValue, js.Object, "button"]]]))
  }
  
  @JSImport("@mui/base/SelectUnstyled", JSImport.Default)
  @js.native
  val component: js.Object = js.native
  
  type Props[TValue /* <: js.Object */] = DefaultComponentProps[SelectUnstyledTypeMap[TValue, js.Object, "button"]]
  
  implicit def make[TValue /* <: js.Object */](companion: Apply.type): SharedBuilder_DefaultComponentProps1544830250[TValue] = new SharedBuilder_DefaultComponentProps1544830250[TValue](js.Array(this.component, js.Dictionary.empty))()
  
  def styled[TValue /* <: js.Object */]: Builder[
    DefaultComponentProps[SelectUnstyledTypeMap[TValue, js.Object, "button"]], 
    SharedBuilder_DefaultComponentProps1544830250[TValue]
  ] = new Builder[
    DefaultComponentProps[SelectUnstyledTypeMap[TValue, js.Object, "button"]], 
    SharedBuilder_DefaultComponentProps1544830250[TValue]
  ](this.component, new js.Object, js.Array(), (newComponent: Any) => new SharedBuilder_DefaultComponentProps1544830250[TValue](js.Array(newComponent, js.Dictionary.empty)))
  
  def withProps[TValue /* <: js.Object */](p: DefaultComponentProps[SelectUnstyledTypeMap[TValue, js.Object, "button"]]): SharedBuilder_DefaultComponentProps1544830250[TValue] = new SharedBuilder_DefaultComponentProps1544830250[TValue](js.Array(this.component, p.asInstanceOf[js.Any]))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy