Props

io.github.nafg.scalajs.facades.mui.Grid$.Props
class Props extends WithChildren[VdomNode]

Attributes

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

Members list

Concise view

Type members

Classlikes

object alignContent extends Prop[String]

Defines the align-content style property. It's applied for all screen sizes.

Defines the align-content style property. It's applied for all screen sizes.

Attributes

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

Defines the align-items style property. It's applied for all screen sizes.

Defines the align-items style property. It's applied for all screen sizes.

Attributes

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

Defines the flex-direction style property. It is applied for all screen sizes.

Defines the flex-direction style property. It is applied for all screen sizes.

Attributes

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

Defines the justify-content style property. It is applied for all screen sizes.

Defines the justify-content style property. It is applied for all screen sizes.

Attributes

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

Defines the number of grids the component is going to use. It's applied for the lg breakpoint and wider screens if not overridden.

Defines the number of grids the component is going to use. It's applied for the lg breakpoint and wider screens if not overridden.

Attributes

Graph
Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self type
lg.type
object md extends Prop[Any]

Defines the number of grids the component is going to use. It's applied for the md breakpoint and wider screens if not overridden.

Defines the number of grids the component is going to use. It's applied for the md breakpoint and wider screens if not overridden.

Attributes

Graph
Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self type
md.type
object sm extends Prop[Any]

Defines the number of grids the component is going to use. It's applied for the sm breakpoint and wider screens if not overridden.

Defines the number of grids the component is going to use. It's applied for the sm breakpoint and wider screens if not overridden.

Attributes

Graph
Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self type
sm.type
object spacing extends Prop[Double]

Defines the space between the type item component. It can only be used on a type container component.

Defines the space between the type item component. It can only be used on a type container component.

Attributes

Graph
Supertypes
class Prop[Double]
class Object
trait Matchable
class Any
Self type
spacing.type
object wrap extends Prop[String]

Defines the flex-wrap style property. It's applied for all screen sizes.

Defines the flex-wrap style property. It's applied for all screen sizes.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
wrap.type
object xl extends Prop[Any]

Defines the number of grids the component is going to use. It's applied for the xl breakpoint and wider screens.

Defines the number of grids the component is going to use. It's applied for the xl breakpoint and wider screens.

Attributes

Graph
Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self type
xl.type
object xs extends Prop[Any]

Defines the number of grids the component is going to use. It's applied for all the screen sizes with the lowest priority.

Defines the number of grids the component is going to use. It's applied for all the screen sizes with the lowest priority.

Attributes

Graph
Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self type
xs.type

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

If true, the component will have the flex container behavior. You should be wrapping items with a container.

If true, the component will have the flex container behavior. You should be wrapping items with a container.

Attributes

def item: Prop[Boolean]

If true, the component will have the flex item behavior. You should be wrapping items with a container.

If true, the component will have the flex item behavior. You should be wrapping items with a container.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]
def zeroMinWidth: Prop[Boolean]

If true, it sets min-width: 0 on the item. Refer to the limitations section of the documentation to better understand the use case.

If true, it sets min-width: 0 on the item. Refer to the limitations section of the documentation to better understand the use case.

Attributes

Deprecated methods

def justify: Prop[Any]

Defines the justify-content style property. It is applied for all screen sizes.

Defines the justify-content style property. It is applied for all screen sizes.

Attributes

Deprecated
true

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