mirror of
https://github.com/zhigang1992/examples.git
synced 2026-04-30 02:16:13 +08:00
update expo sdk@36 + packages + apply corporate colors to gradient
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import React from 'react';
|
||||
import { StyleSheet, Text, View } from 'react-native';
|
||||
import { StyleSheet, Text } from 'react-native';
|
||||
|
||||
import { LinearGradient } from 'expo-linear-gradient'
|
||||
import { LinearGradient } from 'expo-linear-gradient';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
<LinearGradient colors={['red', 'orange']} style={styles.container}>
|
||||
<LinearGradient colors={['white', '#3423ca']} style={styles.container}>
|
||||
<Text>Open up App.tsx to start working on your app!</Text>
|
||||
</LinearGradient>
|
||||
);
|
||||
|
||||
4
with-electron/app.json
Normal file → Executable file
4
with-electron/app.json
Normal file → Executable file
@@ -4,7 +4,7 @@
|
||||
"name": "with-electron",
|
||||
"slug": "with-electron",
|
||||
"privacy": "public",
|
||||
"sdkVersion": "35.0.0",
|
||||
"sdkVersion": "36.0.0",
|
||||
"platforms": [
|
||||
"ios",
|
||||
"android",
|
||||
@@ -28,4 +28,4 @@
|
||||
"supportsTablet": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
18
with-electron/package.json
Normal file → Executable file
18
with-electron/package.json
Normal file → Executable file
@@ -9,20 +9,20 @@
|
||||
"eject": "expo eject"
|
||||
},
|
||||
"dependencies": {
|
||||
"@expo/electron-adapter": "^0.0.0-alpha.8",
|
||||
"@expo/webpack-config": "^0.10.0",
|
||||
"electron": "^6.0.12",
|
||||
"expo": "^35.0.0",
|
||||
"react": "16.8.3",
|
||||
"react-dom": "16.8.3",
|
||||
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
|
||||
"@expo/electron-adapter": "0.0.0-alpha.12",
|
||||
"@expo/webpack-config": "^0.10.7",
|
||||
"electron": "6.1.7",
|
||||
"expo": "^36.0.0",
|
||||
"react": "16.9.0",
|
||||
"react-dom": "16.9.0",
|
||||
"react-native": "https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz",
|
||||
"react-native-web": "^0.11.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^16.8.23",
|
||||
"@types/react": "^16.9.0",
|
||||
"@types/react-native": "^0.57.65",
|
||||
"babel-preset-expo": "^7.1.0",
|
||||
"typescript": "^3.6.3"
|
||||
"typescript": "^3.7.4"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user