-
-
Notifications
You must be signed in to change notification settings - Fork 911
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add information on usage from React Native (#385)
This adds information on how to get the library working on React Native to the readme. To verify that this works: 1. creating a new React Native project (`npx react-native init uuidtest`) 2. added the dependencies (`npm add react-native-get-random-values uuid`) 3. imported the polyfill (`import 'react-native-get-random-values'` in `index.js`) 4. and displayed an UUID in the app (`import * as uuid from 'uuid'` and `{uuid.v4()}` in `App.js`) Closes #375
- Loading branch information
Showing
2 changed files
with
4 additions
and
0 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
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