Skip to content

Commit

Permalink
Patched docs/fern/docs/pages/sdk/types/credential-sign-up.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
patched.codes[bot] committed Dec 10, 2024
1 parent a6384b8 commit a095bc2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/fern/docs/pages/sdk/types/credential-sign-up.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: CredentialSignUp
---

# CredentialSignUp

A component that renders a sign-up form with email and password fields.

## Props

- `noPasswordRepeat` (optional): `boolean` - If true, the form will not include a password repeat field.

## Example

```tsx
import { CredentialSignUp } from '@stackframe/stack';

// Basic usage
<CredentialSignUp />

// Without password repeat field
<CredentialSignUp noPasswordRepeat={true} />
```

The form includes email and password fields, with optional password repeat. It handles form validation and submission, including password strength checks and email format validation.

0 comments on commit a095bc2

Please sign in to comment.