Skip to content

Commit 53214f9

Browse files
chore(types): Add examples for __experimental_startPath types (#6987)
1 parent 070c25b commit 53214f9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/fresh-pandas-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/types': patch
3+
---
4+
5+
Add example usage for `__experimental_startPath`.

packages/types/src/clerk.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,6 +1496,7 @@ export type UserProfileProps = RoutingOptions & {
14961496
customPages?: CustomPage[];
14971497
/**
14981498
* Specify on which page the user profile modal will open.
1499+
* @example __experimental_startPath: '/members'
14991500
* @experimental
15001501
**/
15011502
__experimental_startPath?: string;
@@ -1527,6 +1528,7 @@ export type OrganizationProfileProps = RoutingOptions & {
15271528
customPages?: CustomPage[];
15281529
/**
15291530
* Specify on which page the organization profile modal will open.
1531+
* @example __experimental_startPath: '/organization-members'
15301532
* @experimental
15311533
**/
15321534
__experimental_startPath?: string;

0 commit comments

Comments
 (0)