Skip to content

Commit 0cb2436

Browse files
committed
upgrade expo and react-native 0.79.2 in example
1 parent 94e662d commit 0cb2436

File tree

3 files changed

+538
-1925
lines changed

3 files changed

+538
-1925
lines changed

example/App.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
SafeAreaView,
66
FlatList,
77
View,
8+
StatusBar,
89
} from 'react-native';
910
import SimpleStepper from 'react-native-simple-stepper';
1011

@@ -126,6 +127,7 @@ export default function App(): React.JSX.Element {
126127
return (
127128
<SafeAreaView>
128129
<FlatList
130+
style={styles.list}
129131
data={steppers}
130132
initialNumToRender={steppers.length}
131133
renderItem={_renderItem}
@@ -138,6 +140,9 @@ export default function App(): React.JSX.Element {
138140
}
139141

140142
const styles = StyleSheet.create({
143+
list: {
144+
marginTop: StatusBar.currentHeight,
145+
},
141146
row: {
142147
flexDirection: 'row',
143148
alignItems: 'center',

example/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
"name": "simplestepperexample",
33
"version": "1.0.0",
44
"main": "index.ts",
5+
"private": true,
56
"scripts": {
67
"start": "expo start",
78
"android": "expo start --android",
89
"ios": "expo start --ios",
910
"web": "expo start --web"
1011
},
1112
"dependencies": {
12-
"expo": "~52.0.17",
13-
"react": "18.3.1",
14-
"react-native": "0.76.3",
13+
"expo": "~53.0.9",
14+
"react": "19.0.0",
15+
"react-native": "0.79.2",
1516
"react-native-simple-stepper": "4.2.0"
1617
},
1718
"devDependencies": {
1819
"@babel/core": "^7.25.2",
19-
"@types/react": "~18.3.12",
20-
"typescript": "^5.3.3"
20+
"@types/react": "~19.0.10",
21+
"typescript": "^5.8.3"
2122
},
22-
"private": true,
23-
"packageManager": "[email protected]"
23+
"packageManager": "[email protected]"
2424
}

0 commit comments

Comments
 (0)