Update with-react.mdx

Add instruction for installing @reach/visually-hidden, otherwise profile photos functionality causes build to fail.
This commit is contained in:
Dave Mackey authored and Ziinc committed 2022-04-11 09:31:26 +02:00
1 parent e16bbc4634
commit 8c97055bed
1 file changed
+3
+3
View File
@@ -419,6 +419,9 @@ And then open the browser to [localhost:3000](http://localhost:3000) and you sho
Every Supabase project is configured with [Storage](/docs/guides/storage) for managing large files like photos and videos.
### Add @reach/visually-hidden
The upload widget uses one additional npm library. You can install it like so: `npm install @reach/visually-hidden`.
### Create an upload widget
Let's create an avatar for the user so that they can upload a profile photo. We can start by creating a new component: