Props

io.github.nafg.scalajs.facades.mui.Typography.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 component.

Set the text-align on the component.

Attributes

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

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
alignItems.type
object color extends Prop[String]

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
color.type
object display extends Prop[String]

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
display.type
object justifyContent extends Prop[String]

Attributes

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

Applies the theme typography styles.

Applies the theme typography styles.

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 gutterBottom: Prop[Boolean]

If true, the text will have a bottom margin.

If true, the text will have a bottom margin.

Attributes

def noWrap: Prop[Boolean]

If true, the text will not wrap, but instead will truncate with a text overflow ellipsis.

If true, the text will not wrap, but instead will truncate with a text overflow ellipsis.

Note that text overflow can only happen with block or inline-block level elements (the element needs to have a width in order to overflow).

Attributes

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

If true, the element will be a paragraph element.

If true, the element will be a paragraph element.

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

The component maps the variant prop to a range of different HTML element types. For instance, subtitle1 to ====. If you wish to change that mapping, you can provide your own. Alternatively, you can use the component prop.

The component maps the variant prop to a range of different HTML element types. For instance, subtitle1 to ====. If you wish to change that mapping, you can provide your own. Alternatively, you can use the component prop.

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