add react docs for setting up auth
Description of changes:
Added React appropriate code for Setup Auth section
Related GitHub issue #, if available:
#7734
Instructions
If this PR should not be merged upon approval for any reason, please submit as a DRAFT
Which product(s) are affected by this PR (if applicable)?
- [ ] amplify-cli
- [ ] amplify-ui
- [ ] amplify-studio
- [ ] amplify-hosting
- [ ] amplify-libraries
Which platform(s) are affected by this PR (if applicable)?
- [ ] JS
- [ ] Swift
- [ ] Android
- [ ] Flutter
- [ ] React Native
Please add the product(s)/platform(s) affected to the PR title
Checks
-
[x] Does this PR conform to the styleguide?
-
[ ] Does this PR include filetypes other than markdown or images? Please add or update unit tests accordingly.
-
[ ] Are any files being deleted with this PR? If so, have the needed redirects been created?
-
[x] Are all links in MDX files using the MDX link syntax rather than HTML link syntax?
ref: MDX:[link](https://docs.amplify.aws/)HTML:<a href="https://docs.amplify.aws/">link</a>
When this PR is ready to merge, please check the box below
- [x] Ready to merge
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
@josefaidt Do you think I should add specific code for just JS filter or this conveys it. I used App.js like files because I thought the filter should be React + Js.
Hey @sameer-dudeja the javascript filter is primarily for vanilla JavaScript setups, which should be possible here with the JavaScript library's API directly
Noted