diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e27bb2a95..027d1fd9b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,7 +33,14 @@ Build and deploy angular example yarn nx build angular # build the angular example yarn nx deploy angular # deploys angular example to gh-pages ``` +# Submitting a PR +The initial comment has instructions. For your PR to be considered, you must select a template, include details, and make the appropriate selections from the checkboxes provided. +1. Select the preview tab. +2. Select the applicable template. This replaces the comment with the correct placeholder text. + +![Submit PR Step 1](https://github.com/near/wallet-selector/blob/main/images/submit_PR_step_1.png) +![Submit PR Step 2](https://github.com/near/wallet-selector/blob/main/images/submit_PR_step_2.png) # Branching diff --git a/examples/react/README.md b/examples/react/README.md index b521e5c02..2be9171df 100644 --- a/examples/react/README.md +++ b/examples/react/README.md @@ -3,7 +3,16 @@ This React example shows how to integrate Near Wallet Selector into your React application for easy Near wallet integration. # Usage +Make sure your node version is 18 +Then perform the build: +```bash +yarn build:all +``` +Need to add a separate dependency, otherwise a error `Module not found` will be reported. +```bash +yarn add @near-wallet-selector/modal-ui +``` Start the development server: ```bash yarn nx serve react diff --git a/images/submit_PR_step_1.png b/images/submit_PR_step_1.png new file mode 100644 index 000000000..bcd1b2b43 Binary files /dev/null and b/images/submit_PR_step_1.png differ diff --git a/images/submit_PR_step_2.png b/images/submit_PR_step_2.png new file mode 100644 index 000000000..7f6342a25 Binary files /dev/null and b/images/submit_PR_step_2.png differ