Skip to content

Commit b04e82b

Browse files
committed
feat: first working version
1 parent caa962f commit b04e82b

File tree

17 files changed

+37357
-18
lines changed

17 files changed

+37357
-18
lines changed

example/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
"expo": "~49.0.7",
1313
"expo-status-bar": "~1.6.0",
1414
"react": "18.2.0",
15-
"react-native": "0.72.3",
1615
"react-dom": "18.2.0",
16+
"react-native": "0.72.4",
1717
"react-native-web": "~0.19.6"
1818
},
1919
"devDependencies": {
2020
"@babel/core": "^7.20.0",
21-
"babel-plugin-module-resolver": "^5.0.0",
22-
"@expo/webpack-config": "^18.0.1",
23-
"babel-loader": "^8.1.0"
21+
"@expo/webpack-config": "^19.0.0",
22+
"babel-loader": "^8.1.0",
23+
"babel-plugin-module-resolver": "^5.0.0"
2424
},
2525
"private": true
26-
}
26+
}

example/src/App.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
import * as React from 'react';
22

3-
import { StyleSheet, View, Text } from 'react-native';
4-
import { multiply } from 'react-native-laravel-sanctum';
3+
import { StyleSheet, View } from 'react-native';
54

65
export default function App() {
7-
const [result, setResult] = React.useState<number | undefined>();
8-
9-
React.useEffect(() => {
10-
multiply(3, 7).then(setResult);
11-
}, []);
12-
136
return (
14-
<View style={styles.container}>
15-
<Text>Result: {result}</Text>
7+
<View>
8+
<View style={styles.container} />
169
</View>
1710
);
1811
}

example/yarn.lock

Lines changed: 8619 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)