0.9.1-alpha.19
Alpha@xaui/native@0.9.1-alpha.19
Patch Changes
-
5f91549:
RowandColumn— the two axes of a layoutEach contributes one declaration,
flexDirection, and nothing else.gap,alignItems,justifyContentandpaddingareViewStylekeys that R14 already exposes as props on every node, so these two add no vocabulary of their own — which is the change from the legacy components, wheremainAxisAlignment,crossAxisAlignment,mainAxisSize,directionandreversedwere words to learn for what React Native already says.flexDirectionis the one style prop they do not expose: it is their identity, and aRowthat could be told to lay out as a column would be aViewwith a longer name.Three entries of the legacy
view/lot are deliberately not ported, because R14 removed their reason to exist:Paddingispadding={16}on the node itself,Centeris two alignment props on the parent, andSpacerisjustifyContent="space-between". Each added a view node to say what a style prop already says.