Skip to content

Commit

Permalink
docs: update auth-ui.mdx (#21794)
Browse files Browse the repository at this point in the history
Update auth-ui.mdx

Add instructions for the "view" prop and "sign_up" and "sign_in" values

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
  • Loading branch information
caseyocampo and charislam committed Mar 6, 2024
1 parent d0a2ced commit c84944d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx
Expand Up @@ -470,3 +470,14 @@ Setting `showLinks` to `false` will hide the following links:
- Already have an account? Sign in
- Send a magic link email
- Forgot your password?

### Sign in and Sign up views

Add `sign_in` or `sign_up` views with the `view` prop:

```
<Auth
supabaseClient={supabase}
view="sign_up"
/>
```

0 comments on commit c84944d

Please sign in to comment.