Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeekDIYHome
Project
Project
Details
Activity
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
huanglu
GeekDIYHome
Commits
3191bbad
Commit
3191bbad
authored
Jul 27, 2020
by
huanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update
parent
bab4259c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
index.tsx
src/components/tab-list-view/index.tsx
+5
-5
index.tsx
src/pages/home/index.tsx
+0
-2
No files found.
src/components/tab-list-view/index.tsx
View file @
3191bbad
...
...
@@ -8,17 +8,17 @@ type TabListViewChilrenProps = {
children
:
JSX
.
Element
}
type
TabListViewProps
=
{
children
:
JSX
.
Element
,
style
:
React
.
CSSProperties
}
const
TabListItem
=
(
props
:
TabListViewChilrenProps
)
=>
{
return
<>
{
props
.
children
}
</>
}
type
TabListViewProps
=
{
children
:
JSX
.
Element
|
JSX
.
Element
[],
style
:
React
.
CSSProperties
}
const
TabListView
=
(
props
:
TabListViewProps
)
=>
{
return
(
...
...
src/pages/home/index.tsx
View file @
3191bbad
...
...
@@ -16,8 +16,6 @@ import { PageProps } from 'global';
const
{
RefreshListState
}
=
RefreshListView
const
Home
=
(
props
:
PageProps
)
=>
{
useHeaderShow
(
true
)
const
[
list
,
setList
]
=
useState
([
1
,
2
,
3
])
const
[
refreshState
,
setRefreshState
]
=
useState
(
RefreshListState
.
Idle
)
const
navigation
=
useNavigation
()
...
...
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