Fix style issues after Stack migration (#6086)

* Fix style issues after Stack migration

* Add release notes
This commit is contained in:
Julian Dominguez-Schatz
2025-11-08 15:50:03 -05:00
committed by GitHub
parent 31455d475c
commit dedf0cd6f8
7 changed files with 24 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ type SpaceBetweenProps = {
direction?: 'horizontal' | 'vertical';
gap?: number;
wrap?: boolean;
align?: 'start' | 'center' | 'end' | 'stretch';
style?: CSSProperties;
children: ReactNode;
};
@@ -15,6 +16,7 @@ export const SpaceBetween = ({
direction = 'horizontal',
gap = 15,
wrap = true,
align = 'center',
style,
children,
...props
@@ -24,7 +26,7 @@ export const SpaceBetween = ({
style={{
flexWrap: wrap ? 'wrap' : 'nowrap',
flexDirection: direction === 'horizontal' ? 'row' : 'column',
alignItems: 'center',
alignItems: align,
gap,
...style,
}}