Props

io.github.nafg.scalajs.facades.mui.base.FormControl.Props
class Props extends WithChildren[VdomNode | Any => Any]

Attributes

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

Members list

Type members

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 | Any => Any]

The content of the component.

The content of the component.

Attributes

def className: Prop[String]

Class name applied to the root element.

Class name applied to the root element.

Attributes

def disabled: Prop[Boolean]

If true, the label, input and helper text should be displayed in a disabled state.

If true, the label, input and helper text should be displayed in a disabled state.

Attributes

def error: Prop[Boolean]

If true, the label is displayed in an error state.

If true, the label is displayed in an error state.

Attributes

def onChange: Prop[Any => Any]

Callback fired when the form element's value is modified.

Callback fired when the form element's value is modified.

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 slotProps: Prop[Object]

The props used for each slot inside the FormControl.

The props used for each slot inside the FormControl.

Attributes

def slots: Prop[Object]

The components used for each slot inside the FormControl. Either a string to use a HTML element or a component.

The components used for each slot inside the FormControl. Either a string to use a HTML element or a component.

Attributes

def style: Prop[Object]
def value: Prop[Any]

The value of the form element.

The value of the form element.

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