Props

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

Attributes

Graph
Supertypes
trait WithChildren[VdomNode]
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]

The content of the component.

The content of the component.

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 defaultValue: Prop[Any]

The default value. Use when the component is not controlled.

The default value. Use when the component is not controlled.

Attributes

def name: Prop[String]

The name used to reference the value of the control. If you don't provide this prop, it falls back to a randomly generated name.

The name used to reference the value of the control. If you don't provide this prop, it falls back to a randomly generated name.

Attributes

def onChange: Prop[Any => Any]

Callback fired when a radio button is selected.

Callback fired when a radio button is selected.

Value parameters

{React.ChangeEvent<HTMLInputElement>}

event The event source of the callback.

{string}

value The value of the selected radio button. You can pull out the new value by accessing event.target.value (string).

Attributes

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

Display group of elements in a compact row.

Display group of elements in a compact row.

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]

Value of the selected radio button. The DOM API casts this to a string.

Value of the selected radio button. The DOM API casts this to a string.

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