HStackProps

A horizontal row of children, centred on the cross axis. The kit had no horizontal primitive, so every app wrote its own flex block: reach for this before a stylex.create.

Source
type HStackProps<T extends ElementType = 'div'> = PrimitiveProps<T> & StackProps

API reference

type HStackProps<T extends ElementType = 'div'> = PrimitiveProps<T> & StackProps

Related types