Props

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

Set the text-align on the table cell content.

Set the text-align on the table cell content.

Monetary or generally number fields should be right aligned as that allows you to add them up quickly in your head without having to worry about decimals.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
align.type
object padding extends Prop[String]

Sets the padding applied to the cell. The prop defaults to the value ('default') inherited from the parent Table component.

Sets the padding applied to the cell. The prop defaults to the value ('default') inherited from the parent Table component.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
padding.type
object size extends Prop[String]

Specify the size of the cell. The prop defaults to the value ('medium') inherited from the parent Table component.

Specify the size of the cell. The prop defaults to the value ('medium') inherited from the parent Table component.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
size.type
object sortDirection extends Prop[Any]

Set aria-sort direction.

Set aria-sort direction.

Attributes

Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self type
object variant extends Prop[String]

Specify the cell type. The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.

Specify the cell type. The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
variant.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 classes: Prop[Object]

Override or extend the styles applied to the component.

Override or extend the styles applied to the component.

Attributes

def component: Prop[ElementType]

The component used for the root node. Either a string to use a HTML element or a component.

The component used for the root node. Either a string to use a HTML element or a component.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def scope: Prop[String]

Set scope attribute.

Set scope attribute.

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

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