StackProps

Properties

Link copied to clipboard
abstract override var children: ReactNode?

The content of the component.

Link copied to clipboard

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

Link copied to clipboard
abstract var divider: ReactNode?

Add an element between each child.

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

Defines the space between immediate children.

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

The system prop, which allows defining system overrides as well as additional CSS styles.

Link copied to clipboard
abstract var useFlexGap: Boolean?

If true, the CSS flexbox gap is used instead of applying margin to children.

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
inline fun PropsWithSx.sx(crossinline block: PropertiesBuilder.() -> 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()