Expo项目 使用Native base UI库

装包:

yarn add native-base

expo install [email protected]  

Index.js:

import React from 'react'
import { View, Text } from 'react-native'
import useList from './useList'
import { NativeBaseProvider, Button, Box } from 'native-base'
import styles from './styles'

export default function Home(props) {
  const { title } = useList(props)

  return (
    
      123
      
        
        Hello world
      
    
  )
}

 Expo项目 使用Native base UI库_第1张图片

 

参考链接:

https://docs.nativebase.io/install-expo

https://chat.xutongbao.top/

你可能感兴趣的:(web前端,react,native,react.js,javascript)