Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Update redirects for React Native docs and improve Getting Started gu…
Browse files Browse the repository at this point in the history
…ide (#485)
  • Loading branch information
gregfromstl authored Jun 25, 2024
1 parent b4b1b91 commit 42c0b6a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ const reactNativeRedirects = {
"/react-native/react-native.useuser": "/references/react-native/v0/useUser",
"/react-native/storage": "/references/react-native/v0/hooks#storage",
"/react-native/faq/deeplinks": "/react-native/v0/faq",
"/typescript/v5/react-native/installation": "/typescript/v5/react-native/getting-started",
};

const unityRedirects = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
import { Callout, Steps, Step, GithubTemplateCard } from "@doc";

# Installation
# Getting Started

To install the React Native SDK, you'll need to install the `@thirdweb/react-native-adapter` package from npm on top of the `thirdweb` package.
### Automatic Installation

We recommend starting a new thirdweb React Native project using our CLI, which sets up everything automatically for you.

In your CLI, run:

```bash
npx thirdweb create --react-native
```

### Manual Installation

To manually install the React Native SDK, you'll need to install the `@thirdweb/react-native-adapter` package from npm on top of the `thirdweb` package.

<Steps>
<Step title="Install the packages">
Expand Down

0 comments on commit 42c0b6a

Please sign in to comment.