From d096c0c01f18b0cf9f6f4a7c7291e9b6b67d8c68 Mon Sep 17 00:00:00 2001 From: Richard Lindhout Date: Fri, 3 Jan 2025 15:58:36 +0100 Subject: [PATCH] chore: commit uncomitted files --- .yarn/install-state.gz | Bin 1563847 -> 1563704 bytes example/package.json | 5 ++--- example/src/App.tsx | 3 ++- .../src/{HeaderWeb.tsx => AppWebLayout.tsx} | 11 +++++------ package.json | 2 +- 5 files changed, 10 insertions(+), 11 deletions(-) rename example/src/{HeaderWeb.tsx => AppWebLayout.tsx} (88%) diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index 0801975004570ef314e04d8d8be8f2d814286b42..6fbf346ccd064357add7dd2049373b712094be9b 100644 GIT binary patch delta 4647 zcmV+?64>p>xnH=rUx0)GgaU*Egam{Iga(8Mgb0KQgbIWUgbaiYgbsucgb;)ggc5`k zgcO7ogch_HkjQ`Y3Dq<^%J@bX1{aYiiaWD$)kD?!SEphYYQWWyESzO>p-xquNoTry zhQ2)^qqB&F1hO8)NIm)F{ z2?i_xlKFHL$eqNAIs{{-!}7bA0AaPQs<4ohHBt`FkSQTVdvB@8Rn?4qMjw!pfoj-b ztQK7y?ti=XB1>QZjBE8|>1uJjOmJ$ym}_(CcihjVUx)M@C)87);<+bOI!>sM!lL%% z3H4vzeGX9x^D~c&day{8vc{~HhFts-m)pq~OMm#~#}9XLu=|Ru zF!9`yP*?}NC!v4l-IzNM4PLaGnhigkMZ*pyXQDJ8&^Rz2*4m-f_EPHHohoeetFKDH z&(7|Ru=ulUnxSvOYp#n=J^r>gooOojw|AdID*N|umW_H{D*N)gkB6;$b4HH{mmOGs zP%6w=qb&wA9$grbbARz6uJs{o+3_;mB4u2Ip|RGEr^?P1IEw z-PY0-R7YNQ^=z|ESnc#q4x45a3?A^v0(=AxN@FT*4*Yn)vUv$?x26spHEn?x7qgCm zd0VZmk16}&(*p0nm!-=WB`U)TX6*4C+bggAzAg#?rNGRnFDa$dd*sEkAd7!zwo0~JHpoU&sM zgw$na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#7^Huwe>mI^gV6&-ICTq!!R*!p%M>cmW-$R>tfdNgEt?u<`}cU-Lp5vK#c}^ zuccLH>lpW}UaJ}FBGj6R#wKlNDXk^PrSJfuZ7szy zE*x{#A;co+WQs-}@+LXF! zRM9OG;=U@HVi>Gmee7v)V{ghLu!bdGQ;A5q_j=%TdmE9p(Hc%Om!s!o0pf0Jg^ciq zROXO2wrrp1VC;>SL6g$4bc8tr4cfUXH70WC_i^ADouv5jjRd#1*Vo&YM`;Vt%yy~;rEhmN$j-UWdOs| z^3;^5Zfn{=q0cN$c85WA0eQVZx?me#W7~J_j!9jMGVxFILK@a4Z8j;qn%7vAO2%;N*|l#?sL*WgNU{gHcqD?fZcU%Y2`Ze8Dh{>4Z9 zE6#n2H+OOb|HPLq+80EBKePbnr^-|1HJzLXfByeV!CM(fKYkIHf=|4;OTqWN?o#mX zfBU+3eZ`&U{kdB>`lcIOt7^wI!DjUxO)%cc7E)`M%)VW6R@6-^n#@W`u?%j+wx@D=d(h}HE!aj2NGEF^v-ez69 zbyLnU=a6R8TyvoTHko3!SWtCoW}xwOvZEG?L! z;%mFAZG0hR7=#fj2>q2X%iv+i7J;c*npaoPxw%YI%Q<3Y86K_f zPR21UBSM#5U}gMBPqIpwRUS~8Nm)Fyn2uql1G|Q_d+D3U*ujfq)RMGzqbcGAyNNLD z+-=NMhQI{<>phl~p4uxq;V~DCG>xcgb{)No4%h5H A9RL6T diff --git a/example/package.json b/example/package.json index 5956e06..0427fa5 100644 --- a/example/package.json +++ b/example/package.json @@ -6,9 +6,8 @@ "start": "expo start", "android": "expo run:android", "ios": "expo run:ios", - "web": "run pre-web && expo start --web", - "web:build": "expo export -p web", - "web:before": "rm -rf ./node_modules/@expo/vector-icons && rm -rf node_modules/react-native-vector-icons" + "web": "expo start --web", + "web:build": "expo export -p web" }, "dependencies": { "@expo/metro-runtime": "~4.0.0", diff --git a/example/src/App.tsx b/example/src/App.tsx index 37e3f24..2cfbad8 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -29,6 +29,7 @@ import routes from './Routes'; import AsyncBoundaryScreen from './helpers/AsyncBoundaryScreen'; import NavigationRoots from './NavigationRoots'; import BottomRoots from './BottomRoots'; +import AppWebLayout from './AppWebLayout'; const screens = createScreens(routes); @@ -96,7 +97,7 @@ const navigationRoot = { { breakingPointWidth: 600, components: { - // override: HeaderWeb, + override: AppWebLayout, start: ({ orientation }) => { if (orientation === 'vertical') { return null; diff --git a/example/src/HeaderWeb.tsx b/example/src/AppWebLayout.tsx similarity index 88% rename from example/src/HeaderWeb.tsx rename to example/src/AppWebLayout.tsx index d2fb821..d99a1b2 100644 --- a/example/src/HeaderWeb.tsx +++ b/example/src/AppWebLayout.tsx @@ -2,10 +2,9 @@ import type { BottomTabOverrideProps } from 'react-native-ridge-navigation'; import { Button, Text, IconButton, useTheme } from 'react-native-paper'; import { View } from 'react-native'; import { BottomTabLink } from 'react-native-ridge-navigation'; +import BottomRoots from './BottomRoots'; -import { BottomRoot } from './Navigator'; - -export default function HeaderWeb({ +export default function AppWebLayout({ orientation, originalBottomTabs, children, @@ -29,7 +28,7 @@ export default function HeaderWeb({ Logo - + {({ isSelected, ...linkProps }) => (