Props

io.github.nafg.scalajs.facades.mui.CardMedia$.Props
class Props extends WithChildren[Any]

Attributes

Graph
Supertypes
trait WithChildren[Any]
trait PropTypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

object dyn extends Dynamic

Attributes

Inherited from:
PropTypes
Graph
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Value members

Concrete methods

def children: Prop[Any]

The content of the component.

The content of the component.

Attributes

def classes: Prop[Object]

Override or extend the styles applied to the component. See CSS API below for more details.

Override or extend the styles applied to the component. See CSS API below for more details.

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 image: Prop[String]

Image to be displayed as a background image. Either image or src prop must be specified. Note that caller must specify height otherwise the image will not be visible.

Image to be displayed as a background image. Either image or src prop must be specified. Note that caller must specify height otherwise the image will not be visible.

Attributes

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

An alias for image property. Available only with media components. Media components: video, audio, picture, iframe, img.

An alias for image property. Available only with media components. Media components: video, audio, picture, iframe, img.

Attributes

def style: Prop[Object]

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