Skip to content

Commit 3395587

Browse files
authored
Native: sendpot screens (#1615)
1 parent d1bdafb commit 3395587

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

apps/expo/app/sendpot/buy-tickets.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Stack } from 'expo-router/build/layouts/Stack'
22
import { ScreenContainer } from 'apps-expo/components/layout/ScreenContainer'
3-
import { Paragraph } from '@my/ui'
3+
import { BuyTicketsScreen } from 'app/features/sendpot/BuyTicketsScreen'
44

55
export default function BuySendpotTicketsScreen() {
66
return (
@@ -11,7 +11,7 @@ export default function BuySendpotTicketsScreen() {
1111
}}
1212
/>
1313
<ScreenContainer>
14-
<Paragraph>BuySendpotTicketsScreen</Paragraph>
14+
<BuyTicketsScreen />
1515
</ScreenContainer>
1616
</>
1717
)

apps/expo/app/sendpot/confirm-buy-tickets.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import { Stack } from 'expo-router/build/layouts/Stack'
22
import { ScreenContainer } from 'apps-expo/components/layout/ScreenContainer'
3-
import { Paragraph } from '@my/ui'
3+
import { ConfirmBuyTicketsScreen } from 'app/features/sendpot/ConfirmBuyTicketsScreen'
44

55
export default function ConfirmBuySendpotTicketsScreen() {
66
return (
77
<>
88
<Stack.Screen
99
options={{
10-
title: 'Buy Tickets Summary',
10+
title: 'Summary',
1111
}}
1212
/>
1313
<ScreenContainer>
14-
<Paragraph>ConfirmBuySendpotTicketsScreen</Paragraph>
14+
<ConfirmBuyTicketsScreen />
1515
</ScreenContainer>
1616
</>
1717
)

apps/expo/app/sendpot/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ScreenContainer } from 'apps-expo/components/layout/ScreenContainer'
22
import { Stack } from 'expo-router'
3-
import { Link, Paragraph } from '@my/ui'
3+
import { SendPotScreen } from 'app/features/sendpot/screen'
44

55
export default function SendpotScreen() {
66
return (
@@ -11,9 +11,7 @@ export default function SendpotScreen() {
1111
}}
1212
/>
1313
<ScreenContainer>
14-
<Paragraph>SendpotScreen</Paragraph>
15-
<Link href={'/sendpot/buy-tickets'}>but tickets</Link>
16-
<Link href={'/sendpot/confirm-buy-tickets'}>confirm</Link>
14+
<SendPotScreen />
1715
</ScreenContainer>
1816
</>
1917
)

0 commit comments

Comments
 (0)