RN Neo

Usage

Usage of RN Neo package in your React Native project

After installing RN Neo and its peer dependencies, you can start using it in your project.
  • Wrap your root component in NeoProvider from rn-neo. Do this in your App.js file:
import { NeoProvider } from 'rn-neo';

export default function App() {
  return <NeoProvider>{/* Your app code */}</NeoProvider>;
}
  • Import the components
import { Pressable, Text } from 'rn-neo';
  • And use it in your app
<Pressable backgroundColor="primary">
  <Text>Sign Up</Text>
</Pressable>