Props

io.github.nafg.scalajs.facades.mui.base.Tabs.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 direction extends Prop[String]

The direction of the text.

The direction of the text.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
direction.type
object orientation extends Prop[String]

The component orientation (layout flow direction).

The component orientation (layout flow direction).

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 children: Prop[VdomNode]

The content of the component.

The content of the component.

Attributes

def defaultValue: Prop[Double | String]

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

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

Attributes

def onChange: Prop[Any => Any]

Callback invoked when new value is being set.

Callback invoked when new value is being set.

Attributes

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

If true the selected tab changes on focus. Otherwise it only changes on activation.

If true the selected tab changes on focus. Otherwise it only changes on activation.

Attributes

def slotProps: Prop[Object]

The props used for each slot inside the Tabs.

The props used for each slot inside the Tabs.

Attributes

def slots: Prop[Object]

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

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

Attributes

def style: Prop[Object]
def value: Prop[Double | String]

The value of the currently selected Tab. If you don't want any selected Tab, you can set this prop to null.

The value of the currently selected Tab. If you don't want any selected Tab, you can set this prop to null.

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