Documentation
Frameworks
React Native

Getting Started with React Native

💡

This package is still in active development and is not yet ready for react-native projects.

Installation

In your React Native or Expo project, install Kitchn by running either of the following:

npm i kitchn --save

Provider Setup

After installing Kitchn, you need to set up the KitchnProvider at the root of your application. This can be either in your App.jsx or App.tsx file.

// App.jsx
import { KitchnProvider } from "kitchn/native";
 
export default function App({ Component, pageProps }) {
  return (
    <KitchnProvider>
      <TheRestOfYourApplication />
    </KitchnProvider>
  );
}

In addition, here is a complete project example (opens in a new tab) using Kitchn with Expo.