Installation
In your React Native/Expo project, install react-native-zephyr
using your favorite package registry tool such as npm
, yarn
, or pnpm
.
- NPM
- Yarn
- pnpm
npm install react-native-zephyr
yarn add react-native-zephyr
pnpm add react-native-zephyr
Note that react-native-zephyr
is a JS library with no native dependencies, and therefore installation involves no more than installing the JS package into your repository.
note
Zephyr's type-safety and style-name inference is possible due to template literal types in TypeScript. Template literal types were released in TypeScript 4.1, and therefore for you to get type safety/inference – your project will need to be using at least typescript: "4.1.0"
.