Props

io.github.nafg.scalajs.facades.mui.InputAdornment.Props
class Props extends WithChildren[VdomNode]

Attributes

Graph
Supertypes
trait WithChildren[VdomNode]
trait PropTypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

object position extends Prop[String]

The position this adornment should appear relative to the Input.

The position this adornment should appear relative to the Input.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
position.type
object variant extends Prop[String]

The variant to use. Note: If you are using the TextField component or the FormControl component you do not have to set this manually.

The variant to use. Note: If you are using the TextField component or the FormControl component you do not have to set this manually.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
variant.type

Inherited classlikes

object dyn extends Dynamic

Attributes

Inherited from:
PropTypes
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Value members

Concrete methods

def children: Prop[VdomNode]

The content of the component, normally an IconButton or string.

The content of the component, normally an IconButton or string.

Attributes

def classes: Prop[Object]

Override or extend the styles applied to the component.

Override or extend the styles applied to the component.

Attributes

def component: Prop[ElementType]

The component used for the root node. Either a string to use a HTML element or a component.

The component used for the root node. Either a string to use a HTML element or a component.

Attributes

def disablePointerEvents: Prop[Boolean]

Disable pointer events on the root. This allows for the content of the adornment to focus the input on click.

Disable pointer events on the root. This allows for the content of the adornment to focus the input on click.

Attributes

def disableTypography: Prop[Boolean]

If children is a string then disable wrapping in a Typography component.

If children is a string then disable wrapping in a Typography component.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]
def sx: Prop[Seq[Any => Any | Object | Boolean] | Any => Any | Object]

The system prop that allows defining system overrides as well as additional CSS styles.

The system prop that allows defining system overrides as well as additional CSS styles.

Attributes

Inherited methods

def of[A : Writer](implicit evidence$1: Writer[A], name: Name): Prop[A]

Attributes

Inherited from:
PropTypes

Inherited fields

val key: Prop[Key]

Attributes

Inherited from:
PropTypes