Props

io.github.nafg.scalajs.facades.mui.CardHeader.Props
class Props extends PropTypes

Attributes

Graph
Supertypes
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 action: Prop[VdomNode]

The action to display in the card header.

The action to display in the card header.

Attributes

def avatar: Prop[VdomNode]

The Avatar element to display.

The Avatar element to display.

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

If true, subheader and title won't be wrapped by a Typography component. This can be useful to render an alternative Typography variant by wrapping the title text, and optional subheader text with the Typography component.

If true, subheader and title won't be wrapped by a Typography component. This can be useful to render an alternative Typography variant by wrapping the title text, and optional subheader text with the Typography component.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]
def subheader: Prop[VdomNode]

The content of the component.

The content of the component.

Attributes

def subheaderTypographyProps: Prop[Object]

These props will be forwarded to the subheader (as long as disableTypography is not true).

These props will be forwarded to the subheader (as long as disableTypography is not true).

Attributes

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

The content of the component.

The content of the component.

Attributes

def titleTypographyProps: Prop[Object]

These props will be forwarded to the title (as long as disableTypography is not true).

These props will be forwarded to the title (as long as disableTypography is not true).

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