<PasswordReset />
Renders a password reset component based on the provided search parameters and optional full page display.
Props
Prop | Type | Default | Description |
---|---|---|---|
searchParams | Record<string, string> | — | An object containing search parameters, including the password reset code. |
fullPage optional | boolean | false | Determines whether to display the component in full page mode. |
Example
import { PasswordReset } from '@stackframe/stack';
export function ResetPasswordPage(props: { searchParams: Record<string, string> }) {
return (
<PasswordReset
searchParams={props.searchParams}
fullPage={true}
/>
);
}