Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vt-rn-pre-study
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱传永
vt-rn-pre-study
Commits
f0e017df
Commit
f0e017df
authored
Jan 25, 2021
by
zhuchuanyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: rn-navigation
parent
8ca425bc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
189 additions
and
14 deletions
+189
-14
App.tsx
App.tsx
+3
-4
index.js
index.js
+1
-1
package.json
package.json
+8
-1
yarn.lock
yarn.lock
+177
-8
No files found.
App.tsx
View file @
f0e017df
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: zhuchuanyong
* @Author: zhuchuanyong
* @Date: 2021-01-22 15:13:57
* @Date: 2021-01-22 15:13:57
* @LastEditors: zhuchuanyong
* @LastEditors: zhuchuanyong
* @LastEditTime: 2021-01-2
2 15:29:34
* @LastEditTime: 2021-01-2
5 17:18:15
* @FilePath: \App.tsx
* @FilePath: \App.tsx
*/
*/
/**
/**
...
@@ -14,16 +14,15 @@
...
@@ -14,16 +14,15 @@
*
*
* @format
* @format
*/
*/
import
{
Button
}
from
'@ant-design/react-native'
;
import
React
from
'react'
;
import
React
from
'react'
;
import
StackNavigation
from
'./src/router/StackNavigation'
;
declare
const
global
:
{
HermesInternal
:
null
|
{}};
declare
const
global
:
{
HermesInternal
:
null
|
{}};
const
App
=
()
=>
{
const
App
=
()
=>
{
return
(
return
(
<>
<>
<
Button
>
default
</
Button
>
<
StackNavigation
/
>
</>
</>
);
);
};
};
...
...
index.js
View file @
f0e017df
/**
/**
* @format
* @format
*/
*/
import
'react-native-gesture-handler'
;
import
{
AppRegistry
}
from
'react-native'
;
import
{
AppRegistry
}
from
'react-native'
;
import
App
from
'./App'
;
import
App
from
'./App'
;
import
{
name
as
appName
}
from
'./app.json'
;
import
{
name
as
appName
}
from
'./app.json'
;
...
...
package.json
View file @
f0e017df
...
@@ -13,12 +13,19 @@
...
@@ -13,12 +13,19 @@
"
@ant-design/react-native
"
:
"^4.0.7"
,
"
@ant-design/react-native
"
:
"^4.0.7"
,
"
@react-native-community/async-storage
"
:
"^1.12.1"
,
"
@react-native-community/async-storage
"
:
"^1.12.1"
,
"
@react-native-community/cameraroll
"
:
"^4.0.1"
,
"
@react-native-community/cameraroll
"
:
"^4.0.1"
,
"
@react-native-community/masked-view
"
:
"^0.1.10"
,
"
@react-native-community/segmented-control
"
:
"^2.2.2"
,
"
@react-native-community/segmented-control
"
:
"^2.2.2"
,
"
@react-native-community/slider
"
:
"^3.0.3"
,
"
@react-native-community/slider
"
:
"^3.0.3"
,
"
@react-native-community/viewpager
"
:
"^4.2.2"
,
"
@react-native-community/viewpager
"
:
"^4.2.2"
,
"
@react-native-picker/picker
"
:
"^1.9.10"
,
"
@react-native-picker/picker
"
:
"^1.9.10"
,
"
@react-navigation/native
"
:
"^5.9.2"
,
"
@react-navigation/stack
"
:
"^5.14.1"
,
"
react
"
:
"16.13.1"
,
"
react
"
:
"16.13.1"
,
"
react-native
"
:
"0.63.4"
"
react-native
"
:
"0.63.4"
,
"
react-native-gesture-handler
"
:
"^1.9.0"
,
"
react-native-reanimated
"
:
"^1.13.2"
,
"
react-native-safe-area-context
"
:
"^3.1.9"
,
"
react-native-screens
"
:
"^2.15.2"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"
@babel/core
"
:
"^7.8.4"
,
"
@babel/core
"
:
"^7.8.4"
,
...
...
yarn.lock
View file @
f0e017df
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment