Props

io.github.nafg.scalajs.facades.mui.Skeleton.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 animation extends Prop[Any]

The animation. If false the animation effect is disabled.

The animation. If false the animation effect is disabled.

Attributes

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

The type of content that will be rendered.

The type of content that will be rendered.

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]

Optional children to infer width and height from.

Optional children to infer width and height from.

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

Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.

Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
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 width: Prop[Double | String]

Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.

Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.

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