Skip to content

Commit fc8c76a

Browse files
committed
react-native: HeaderRoot children path: restore flex-1 + items-start wrapper to preserve fill behavior and alignment
1 parent e4caeb5 commit fc8c76a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • packages/design-system-react-native/src/components/HeaderRoot

packages/design-system-react-native/src/components/HeaderRoot/HeaderRoot.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ export const HeaderRoot = ({
4747

4848
const renderLeftSection = () => {
4949
if (children) {
50-
return children;
50+
return (
51+
<Box alignItems={BoxAlignItems.Start} twClassName="flex-1">
52+
{children}
53+
</Box>
54+
);
5155
}
5256
if (title || titleAccessory) {
5357
return (

0 commit comments

Comments
 (0)