Nativebase logo
NativeBase
Install in React Native project
Create a new project
Copy
npx react-native init AwesomeNativeBase
cd AwesomeNativeBase
Install dependencies
yarn
npm
Run pod install
Copy
cd ios/
pod install
Run the Hello world example
Put the below code in your App.js
Copy
import React from "react";
import { NativeBaseProvider, Box } from "native-base";
function App() {
return (
<NativeBaseProvider>
<Box>Hello world</Box>
</NativeBaseProvider>
);
}
Nativebase logo
MadeWithNativeBase