T

StackProps

Props of Stack (function). Exports: Stack.

type StackProps = { … }

See also

design/components/Stack/native/Stack.native.tsx

Members

align?"center" | "flex-end" | "flex-start" | "stretch" | string & {}

Default

'stretch'
children?React.ComponentProps<typeof RN.View>["children"]
direction?"horizontal" | "vertical" | string & {}

Default

'vertical'
justify?"center" | "flex-end" | "flex-start" | "space-between" | string & {}

Default

'flex-start'
onLayout?React.ComponentProps<typeof RN.View>["onLayout"]
spacing?number

Default

8
style?React.ComponentProps<typeof RN.View>["style"]