import * as WebBrowser from 'expo-web-browser'
import * as React from 'react'
import { Platform, StyleSheet } from 'react-native'
import { ScrollView } from 'react-native-gesture-handler'
import { WhiteSpace, WingBlank } from '@ant-design/react-native'
import { Paragraph, Menu, Divider, Provider, Text } from 'react-native-paper'
import Button from '../../components/Button'
import Header from '../../components/HomeHeader'
import Icon from '../../components/SvgIcon'

export default function HomeScreen() {
  return (
    <ScrollView style={styles.container}>
      <Header />
      <WingBlank>
        <Button block size="small" type="info" onPress={() => {}}>
          搜索
        </Button>
        <Icon />
      </WingBlank>
    </ScrollView>
  )
}
HomeScreen.navigationOptions = {
  header: null,
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
  },
  contentStyle: {
    height: 20,
  },
  text: {
    fontSize: 10,
    color: '#AAAAAA',
  },
})
