MasonryOwnProps

Properties

Link copied to clipboard
abstract external override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract external var classes: MasonryClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract external var columns: ResponsiveStyleValue<Any>?

Number of columns.

Link copied to clipboard
abstract external var defaultColumns: Int?

The default number of columns of the component. This is provided for server-side rendering.

Link copied to clipboard
abstract external var defaultHeight: Number?

The default height of the component in px. This is provided for server-side rendering.

Link copied to clipboard
abstract external var defaultSpacing: Number?

The default spacing of the component. Like spacing, it is a factor of the theme's spacing. This is provided for server-side rendering.

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var sequential: Boolean?

Allows using sequential order rather than adding to shortest column

Link copied to clipboard
abstract external var spacing: ResponsiveStyleValue<Any>?

Defines the space between children. It is a factor of the theme's spacing.

Link copied to clipboard
abstract external override var sx: SxProps<Theme>?

Allows defining system overrides as well as additional CSS styles.

Functions

Link copied to clipboard
open inline external fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator external fun <P : Props> ElementType<P>.invoke()
open inline operator external fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator external fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator external fun Char.unaryPlus()
open inline operator external fun String?.unaryPlus()
open inline operator external fun ReactNode?.unaryPlus()
open inline operator external fun Props?.unaryPlus()