Commit 3191bbad authored by huanglu's avatar huanglu

fix: update

parent bab4259c
......@@ -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 (
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment