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

Type members

Classlikes

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 direction extends Prop[String | Seq[String] | Object]

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

Supertypes
class Prop[String | Seq[String] | Object]
class Object
trait Matchable
class Any
Self type
direction.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 lg extends Prop[String | Double | Boolean]

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the lg breakpoint and wider screens if not overridden.

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the lg breakpoint and wider screens if not overridden.

Attributes

Supertypes
class Prop[String | Double | Boolean]
class Object
trait Matchable
class Any
Self type
lg.type
object md extends Prop[String | Double | Boolean]

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the md breakpoint and wider screens if not overridden.

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the md breakpoint and wider screens if not overridden.

Attributes

Supertypes
class Prop[String | Double | Boolean]
class Object
trait Matchable
class Any
Self type
md.type
object sm extends Prop[String | Double | Boolean]

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the sm breakpoint and wider screens if not overridden.

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the sm breakpoint and wider screens if not overridden.

Attributes

Supertypes
class Prop[String | Double | Boolean]
class Object
trait Matchable
class Any
Self type
sm.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

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

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the xl breakpoint and wider screens if not overridden.

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the xl breakpoint and wider screens if not overridden.

Attributes

Supertypes
class Prop[String | Double | Boolean]
class Object
trait Matchable
class Any
Self type
xl.type
object xs extends Prop[String | Double | Boolean]

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for all the screen sizes with the lowest priority.

If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for all the screen sizes with the lowest priority.

Attributes

Supertypes
class Prop[String | Double | Boolean]
class Object
trait Matchable
class Any
Self type
xs.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 columnSpacing: Prop[Seq[Double | String] | Double | Object | String]

Defines the horizontal space between the type item components. It overrides the value of the spacing prop.

Defines the horizontal space between the type item components. It overrides the value of the spacing prop.

Attributes

def columns: Prop[Seq[Double] | Double | Object]

The number of columns.

The number of columns.

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 rowSpacing: Prop[Seq[Double | String] | Double | Object | String]

Defines the vertical space between the type item components. It overrides the value of the spacing prop.

Defines the vertical space between the type item components. It overrides the value of the spacing prop.

Attributes

def spacing: Prop[Seq[Double | String] | Double | Object | String]

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

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

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 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

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