We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f81b52d commit f456e20Copy full SHA for f456e20
2 files changed
example/src/components/App/Main.tsx
@@ -8,6 +8,7 @@ import { User } from '../User';
8
import { Inbox } from '../Inbox';
9
import { useIterableApp } from '../../hooks';
10
import { Commerce } from '../Commerce';
11
+import { Embedded } from '../Embedded';
12
13
const Tab = createBottomTabNavigator<MainScreenParamList>();
14
@@ -44,6 +45,13 @@ export const Main = () => {
44
45
},
46
})}
47
/>
48
+ <Tab.Screen
49
+ name={Route.Embedded}
50
+ component={Embedded}
51
+ listeners={() => ({
52
+ tabPress: () => setIsInboxTab(false),
53
+ })}
54
+ />
55
<Tab.Screen
56
name={Route.Commerce}
57
component={Commerce}
example/src/components/Embedded/index.ts
@@ -1,2 +1 @@
1
export * from './Embedded';
2
-export { default } from './Embedded';
0 commit comments