-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,38 @@ | ||
--- | ||
--- | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# For library users | ||
|
||
If you are using a library that is built with Nitro, all you need to do is install the Nitro Modules core package: | ||
|
||
```sh | ||
npm i react-native-nitro-modules | ||
cd ios && pod install | ||
``` | ||
<Tabs groupId="package-manager"> | ||
<TabItem value="npm" label="npm" default> | ||
```sh | ||
npm i react-native-nitro-modules | ||
cd ios && pod install | ||
``` | ||
</TabItem> | ||
<TabItem value="yarn" label="yarn"> | ||
```sh | ||
yarn add react-native-nitro-modules | ||
cd ios && pod install | ||
``` | ||
</TabItem> | ||
<TabItem value="pnpm" label="pnpm"> | ||
```sh | ||
pnpm add react-native-nitro-modules | ||
cd ios && pod install | ||
``` | ||
</TabItem> | ||
<TabItem value="bun" label="bun"> | ||
```sh | ||
bun i react-native-nitro-modules | ||
cd ios && pod install | ||
``` | ||
</TabItem> | ||
</Tabs> | ||
|
||
Nitro Modules are lightweight, yet powerful native bindings to native code, so thank the library author for choosing Nitro to make your app faster! 😄 |