MasonryOwnProps

Properties

Link copied to clipboard
abstract override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract var classes: MasonryClasses?

Override or extend the styles applied to the component.

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

Number of columns.

Link copied to clipboard
abstract var defaultColumns: Number?

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

Link copied to clipboard
abstract var defaultHeight: Number?

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

Link copied to clipboard
abstract 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 var key: Key?
Link copied to clipboard
abstract var sequential: Boolean?

Allows using sequential order rather than adding to shortest column

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

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

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

Allows defining system overrides as well as additional CSS styles.

Functions

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