Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 846 Bytes

File metadata and controls

39 lines (33 loc) · 846 Bytes
title <PasswordReset />

Renders a password reset component based on the provided search parameters and optional full page display.

Props

<PropTable props={[ { name: "searchParams", type: "Record<string, string>", description: "An object containing search parameters, including the password reset code." }, { name: "fullPage", type: "boolean", description: "Determines whether to display the component in full page mode.", optional: true, default: "false" } ]} />

Example

import { PasswordReset } from '@stackframe/stack';

export function ResetPasswordPage(props: { searchParams: Record<string, string> }) {
  return (
    <PasswordReset
      searchParams={props.searchParams}
      fullPage={true}
    />
  );
}