Props

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

Attributes

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

Members list

Concise view

Type members

Classlikes

object color extends Prop[String]

The color of the component. It supports those theme colors that make sense for this component.

The color of the component. It supports those theme colors that make sense for this component.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
color.type
object margin extends Prop[String]

If dense, will adjust vertical spacing. This is normally obtained via context from FormControl.

If dense, will adjust vertical spacing. This is normally obtained via context from FormControl.

Attributes

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

The variant to use.

The variant to use.

Attributes

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

Inherited classlikes

object dyn extends Dynamic

Attributes

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

Value members

Concrete methods

def children: Prop[VdomNode]

The contents of the InputLabel.

The contents of the InputLabel.

Attributes

def classes: Prop[Object]

Override or extend the styles applied to the component. See CSS API below for more details.

Override or extend the styles applied to the component. See CSS API below for more details.

Attributes

def disableAnimation: Prop[Boolean]

If true, the transition animation is disabled.

If true, the transition animation is disabled.

Attributes

def disabled: Prop[Boolean]

If true, apply disabled class.

If true, apply disabled class.

Attributes

def error: Prop[Boolean]

If true, the label will be displayed in an error state.

If true, the label will be displayed in an error state.

Attributes

def focused: Prop[Boolean]

If true, the input of this label is focused.

If true, the input of this label is focused.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def required: Prop[Boolean]

if true, the label will indicate that the input is required.

if true, the label will indicate that the input is required.

Attributes

def shrink: Prop[Boolean]

If true, the label is shrunk.

If true, the label is shrunk.

Attributes

def style: Prop[Object]

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