forked from prscX/react-native-toasty
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
dcdee1b
commit 2bf5088
Showing
2 changed files
with
17 additions
and
6 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,28 +1,29 @@ | ||
**Original repo here** | ||
|
||
https://github.com/prscX/react-native-toasty | ||
|
||
**Note:** | ||
|
||
- This fork uses only the default Toast with props, it doesn't have icons support (reduced bundle size caused by react-native-svg fonts) | ||
- Supports RN 0.60+ | ||
|
||
## 📖 Getting Started | ||
**Getting Started** | ||
|
||
`$npm install rn-toasty` | ||
|
||
`$react-native link rn-toasty` and remove Android linking | ||
|
||
## 💻 Usage | ||
**Usage** | ||
|
||
```javascript | ||
import { RNToasty } from "rn-toasty"; | ||
``` | ||
|
||
```javascript | ||
RNToasty.Show({ | ||
title: 'This is a toast' | ||
title: "This is a toast" | ||
}); | ||
``` | ||
|
||
## Thanks ## | ||
**Thank to** | ||
https://github.com/prscX | ||
``` |
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