RN Neo

Installation

Install RN Neo package to your React Native project

From v4 of react-native-reanimated, you must also install react-native-worklets as a peer dependency.
  • Run the following commands in your project root directory:
pnpm add rn-neo react-native-reanimated react-native-worklets

Expo

  • If you are using Expo, you need to add the following to your app.json file:
{
  "expo": {
    "plugins": [
      // ...other plugins,
      "rn-neo"
    ]
  }
}
  • Then run expo prebuild to generate the native code.

React Native CLI

  • If you are using React Native CLI project, you need to run the following command in your terminal:
npx react-native-asset
  • This will link necessary assets for RN Neo theme.

On this page