Skip to content

Commit ebe17fa

Browse files
committed
2 parents 0040b61 + 5f44c5a commit ebe17fa

File tree

11 files changed

+2555
-2086
lines changed

11 files changed

+2555
-2086
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## This is a demo app for App & Flow's <a href= "https://github.com/AppAndFlow/react-native-magic-scroll">**react-native-magic-scroll**</a> library.
66

7-
| Twitch | Check Out |
7+
| Authentication | Check Out |
88
| ------------- | ------------- |
99
| <video src="https://github.com/AppAndFlow/react-native-magic-scroll-demo/assets/129197567/c1e2b9f4-f66d-4aaf-a57d-9eb4b89400e9"> | <video src="https://github.com/AppAndFlow/react-native-magic-scroll-demo/assets/129197567/4d1a23f2-c55e-414f-a564-4883dfc2c3aa">|
1010

package-lock.json

Lines changed: 2532 additions & 2043 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,35 @@
1212
"lint": "npx eslint --ignore-path .gitignore './src/**/*.ts[x]' './*.js' --fix"
1313
},
1414
"dependencies": {
15-
"@appandflow/rn-magic-scroll": "^0.1.11",
15+
"@appandflow/react-native-magic-scroll": "^0.1.14",
1616
"@gorhom/bottom-sheet": "^4.6.1",
17-
"@react-native-community/datetimepicker": "7.7.0",
17+
"@react-native-community/datetimepicker": "8.0.1",
1818
"@react-navigation/drawer": "^6.6.15",
1919
"@react-navigation/native": "^6.1.7",
2020
"@react-navigation/native-stack": "^6.5.0",
2121
"@react-navigation/stack": "^6.1.1",
22+
"@types/react": "~18.0.27",
2223
"date-fns": "^3.6.0",
23-
"expo": "51.0.2",
24+
"expo": "^51.0.0",
2425
"expo-linear-gradient": "~13.0.2",
25-
"expo-notifications": "~0.28.1",
26+
"expo-notifications": "~0.28.7",
2627
"expo-secure-store": "~13.0.1",
27-
"expo-splash-screen": "~0.27.4",
28+
"expo-splash-screen": "~0.27.5",
2829
"expo-status-bar": "~1.12.1",
29-
"expo-updates": "~0.25.11",
30+
"expo-updates": "~0.25.16",
3031
"mobx": "^6.0.4",
3132
"mobx-persist": "^0.4.1",
3233
"mobx-react": "^7.0.5",
3334
"mobx-react-lite": "^3.1.6",
3435
"react": "18.2.0",
3536
"react-dom": "18.2.0",
36-
"react-native": "0.74.1",
37+
"react-native": "0.74.2",
3738
"react-native-gesture-handler": "~2.16.1",
3839
"react-native-reanimated": "~3.10.1",
3940
"react-native-safe-area-context": "4.10.1",
4041
"react-native-screens": "3.31.1",
4142
"react-native-web": "~0.19.10",
42-
"typescript": "^4.9.4",
43-
"@types/react": "~18.0.27"
43+
"typescript": "^4.9.4"
4444
},
4545
"devDependencies": {
4646
"@babel/core": "^7.24.0",

src/components/landing/IndependantTI.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
2+
import { MagicScroll } from '@appandflow/react-native-magic-scroll';
33
import { ReturnKeyTypeOptions, TextInputProps, ViewStyle } from 'react-native';
44
import Animated, { Easing, FadeInUp, FadeOutUp } from 'react-native-reanimated';
55

src/components/landing/LoginScreen.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import { Alert, Dimensions, Keyboard, View } from 'react-native';
3-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
3+
import { MagicScroll } from '@appandflow/react-native-magic-scroll';
44

55
import { Text16Asap400 } from '../common/typography';
66
import IndependantTI from './IndependantTI';
@@ -71,6 +71,7 @@ const LoginScreen = () => {
7171
Trouble logging in?
7272
</Text16Asap400>
7373
</MagicScroll.ScrollView>
74+
7475
<AppButton
7576
style={{
7677
width: screenWidth - 40,
@@ -91,8 +92,4 @@ const LoginScreen = () => {
9192
);
9293
};
9394

94-
export default () => (
95-
<MagicScroll.SmartScrollView>
96-
<LoginScreen />
97-
</MagicScroll.SmartScrollView>
98-
);
95+
export default LoginScreen;

src/components/landing/signUp/SignUpForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react';
22
import Animated from 'react-native-reanimated';
33
import { format } from 'date-fns';
44
import { observer } from 'mobx-react';
5-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
5+
import { MagicScroll } from '@appandflow/react-native-magic-scroll';
66
import {
77
Dimensions,
88
Keyboard,

src/components/landing/signUp/SignUpScreen.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as React from 'react';
2-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
32
import { View, Dimensions, Alert } from 'react-native';
43
import { observer } from 'mobx-react';
54

@@ -47,8 +46,4 @@ const SignUpScreen = observer(() => {
4746
);
4847
});
4948

50-
export default () => (
51-
<MagicScroll.SmartScrollView>
52-
<SignUpScreen />
53-
</MagicScroll.SmartScrollView>
54-
);
49+
export default SignUpScreen;

src/components/shop/ShopAddressView.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
2+
import { MagicScroll } from '@appandflow/react-native-magic-scroll';
33
import { Alert, Keyboard, View } from 'react-native';
44

55
import ShopTextInput from './ShopTextInput';
@@ -212,8 +212,4 @@ const ShopAddressView = () => {
212212
);
213213
};
214214

215-
export default () => (
216-
<MagicScroll.SmartScrollView>
217-
<ShopAddressView />
218-
</MagicScroll.SmartScrollView>
219-
);
215+
export default ShopAddressView;

src/components/shop/ShopCheckOutScreen.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import { View } from 'react-native';
3-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
3+
import { MagicScroll } from '@appandflow/react-native-magic-scroll';
44

55
import OrderSummarySection from './OrderSummarySection';
66
import colors from '../../constants/colors';
@@ -40,8 +40,4 @@ const ShopCheckOutScreen = () => {
4040
);
4141
};
4242

43-
export default () => (
44-
<MagicScroll.SmartScrollView>
45-
<ShopCheckOutScreen />
46-
</MagicScroll.SmartScrollView>
47-
);
43+
export default ShopCheckOutScreen;

src/components/shop/ShopPaymentView.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
1+
import { MagicScroll } from '@appandflow/react-native-magic-scroll';
22
import * as React from 'react';
33
import { Alert, Keyboard, View } from 'react-native';
44

@@ -157,8 +157,4 @@ const ShopPaymentView = () => {
157157
);
158158
};
159159

160-
export default () => (
161-
<MagicScroll.SmartScrollView>
162-
<ShopPaymentView />
163-
</MagicScroll.SmartScrollView>
164-
);
160+
export default ShopPaymentView;

src/components/shop/ShopTextInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { MagicScroll } from '@appandflow/rn-magic-scroll';
2+
import { MagicScroll } from '@appandflow/react-native-magic-scroll';
33
import {
44
ReturnKeyTypeOptions,
55
TextInputProps,

0 commit comments

Comments
 (0)