Closed garrettjoecox closed 3 years ago
@garrettjoecox 👋 thanks for pointing that out! you're right, it was missing in the Stack
implementation :) fixed in v1.1.2
, please see the docs https://mobily.github.io/stacks/docs/components/stack (there's a new example)
Given the example stack
Applying
align="center"
has the same effect as addingstyle={{ alignItems: 'center' }}
, this is expected. However when you addhorizontal
, thealign
prop no longer seems to have an effect.I would expect it to either have the same effect as adding
style={{ justifiyContent: 'center' }}
, or have a separatealignX
&alignY
props similar to the other components.