Version: 3.0.0

Install in Expo project

Expo helps you to create universal (iOS, Android and Web) React Native apps with no build configuration.

Create a new expo project#

npm install --global expo-cli
expo init my-project
cd my-project/

Refer this link for additional information on Expo and setting up an Expo starter app.

Install dependencies#

yarn add native-base styled-components styled-system
expo install react-native-svg
expo install react-native-safe-area-context

Run the Hello world example#

Put the below code in your App.js

import React from 'react';
import { NativeBaseProvider, Box } from 'native-base';
function App() {
return (
<NativeBaseProvider>
<Box>Hello world</Box>
</NativeBaseProvider>
);
}
minions clapping