Props

io.github.nafg.scalajs.facades.mui.FormControlLabel.Props
class Props extends PropTypes

Attributes

Graph
Supertypes
trait PropTypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

object labelPlacement extends Prop[String]

The position of the label.

The position of the label.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self 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 checked: Prop[Boolean]

If true, the component appears selected.

If true, the component appears selected.

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

The props used for each slot inside.

The props used for each slot inside.

Attributes

def control: Prop[VdomElement]

A control element. For instance, it can be a Radio, a Switch or a Checkbox.

A control element. For instance, it can be a Radio, a Switch or a Checkbox.

Attributes

def disableTypography: Prop[Boolean]

If true, the label is rendered as it is passed without an additional typography node.

If true, the label is rendered as it is passed without an additional typography node.

Attributes

def disabled: Prop[Boolean]

If true, the control is disabled.

If true, the control is disabled.

Attributes

def inputRef: Prop[Any]

Pass a ref to the input element.

Pass a ref to the input element.

Attributes

def label: Prop[VdomNode]

A text or an element to be used in an enclosing label element.

A text or an element to be used in an enclosing label element.

Attributes

def onChange: Prop[Any => Any]

Callback fired when the state is changed.

Callback fired when the state is changed.

Value parameters

{React.SyntheticEvent}

event The event source of the callback. You can pull out the new checked state by accessing event.target.checked (boolean).

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 props used for each slot inside.

Attributes

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

def value: Prop[Any]

The value of the component.

The value of the component.

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