Skip to content

Commit 5281487

Browse files
author
patched.codes[bot]
committed
Patched /Users/codelion/Documents/GitHub/stack/docs/fern/docs/pages/sdk/user-button.mdx
1 parent 0113f5d commit 5281487

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: UserButton
3+
---
4+
5+
# UserButton
6+
7+
Renders a user button component with a loading state.
8+
9+
## Parameters
10+
11+
- `props`: `UserButtonProps` - Properties for configuring the UserButton component.
12+
13+
## Example
14+
15+
```tsx
16+
import { UserButton } from '@stackframe/stack';
17+
18+
function MyComponent() {
19+
return <UserButton />;
20+
}
21+
22+
// With custom properties
23+
function CustomizedUserButton() {
24+
return <UserButton customProp1='value1' customProp2='value2' />;
25+
}
26+
```

0 commit comments

Comments
 (0)