Skip to content

Commit

Permalink
Update quick-start.md for expo project
Browse files Browse the repository at this point in the history
  • Loading branch information
seyedmostafahasani authored May 2, 2024
1 parent 4edf05b commit de3ad8a
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion docs/quick-start.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Quick start

## Install
## Install React Native Project

```sh
yarn add react-native-toast-message
Expand All @@ -9,6 +9,26 @@ npm install --save react-native-toast-message
cd ios && pod install # for iOS
```

## Install Expo Project
```sh
npx expo install react-native-toast-message
```

## Rebuild the project
Rebuild the project
```sh
# expo projects
npx expo run:android
npx expo run:ios

# non-expo projects
npx react-native run-android
npx react-native run-ios
```

## Expo
- ❌ This library can't be used in the "Expo Go" app because it [requires custom native code](https://docs.expo.dev/workflow/customizing/).

## Usage

Render the `Toast` component in your app's entry file, as the **LAST CHILD** in the `View` hierarchy (along with any other components that might be rendered there):
Expand Down

0 comments on commit de3ad8a

Please sign in to comment.