Props

io.github.nafg.scalajs.facades.mui.base.TabPanel.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 onClick: Prop[ReactMouseEventFromHtml => Callback]
def slotProps: Prop[Object]

The props used for each slot inside the TabPanel.

The props used for each slot inside the TabPanel.

Attributes

def slots: Prop[Object]

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

The components used for each slot inside the TabPanel. 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 TabPanel. It will be shown when the Tab with the corresponding value is selected. If not provided, it will fall back to the index of the panel. It is recommended to explicitly provide it, as it's required for the tab panel to be rendered on the server.

The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected. If not provided, it will fall back to the index of the panel. It is recommended to explicitly provide it, as it's required for the tab panel to be rendered on the server.

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