Skip to content

Commit ee8090a

Browse files
author
patched.codes[bot]
committed
Patched /Users/codelion/Documents/GitHub/stack/docs/fern/docs/pages/sdk/account-settings.mdx
1 parent c5e1ee4 commit ee8090a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: AccountSettings
3+
---
4+
5+
# AccountSettings
6+
7+
A component that renders account settings with various sections in a sidebar layout. It can be displayed as a full page or embedded.
8+
9+
## Props
10+
11+
- `fullPage` (optional): `boolean` - If true, wraps the component in a container for full-page display. Default is `false`.
12+
13+
## Example
14+
15+
```tsx
16+
import { AccountSettings } from '@stackframe/stack';
17+
18+
// Embedded version
19+
function MyComponent() {
20+
return <AccountSettings />;
21+
}
22+
23+
// Full-page version
24+
function MyFullPageComponent() {
25+
return <AccountSettings fullPage={true} />;
26+
}
27+
```

0 commit comments

Comments
 (0)