Skip to content

Commit

Permalink
mark props as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisintech committed Jul 3, 2024
1 parent b79914d commit f971e68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/components/user/user-button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ All props are optional.

| Name | Type | Description |
| --- | --- | --- |
| `afterSwitchSessionUrl` | `string` | The full URL or path to navigate to after a successful account change (multi-session apps). |
| `afterMultiSessionSingleSignOutUrl` (deprecated) | `string` | The full URL or path to navigate to after a signing out from a currently active account in a multi-session app. **Deprecated - Move `afterSignOutUrl` to `<ClerkProvider/>`.** |
| `afterSignOutUrl` (deprecated) | `string` | The full URL or path to navigate to after a successful sign-out. **Deprecated - Move `afterSignOutUrl` to `<ClerkProvider/>`.** |
| `afterSwitchSessionUrl` | `string` | The full URL or path to navigate to after a successful account change in a multi-session app. |
| `appearance` | <code>[Appearance](/docs/components/customization/overview) \| undefined</code> | Optional object to style your components. Will only affect [Clerk Components](/docs/components/overview) and not [Account Portal](/docs/account-portal/overview) pages. |
| `defaultOpen` | `boolean` | Controls whether the `<UserButton />` should open by default during the first render. |
| `showName` | `boolean` | Controls if the user name is displayed next to the user image button. |
Expand Down

0 comments on commit f971e68

Please sign in to comment.