videosphere
    Preparing search index...

    Props for the shared account registration form.

    interface RegistrationFormProps {
        title: string;
        subtitle: string;
        formMessageId: string;
        submitLabel: string;
        submittingLabel: string;
        onSubmit: (
            payload: { name: string; email: string; password: string },
        ) => Promise<void>;
        externalError?: string;
        isLoading?: boolean;
        renderFooter?: (state: { formDisabled: boolean }) => ReactNode;
    }
    Index

    Properties

    title: string

    Page heading shown above the form.

    subtitle: string

    Supporting copy shown under the heading.

    formMessageId: string

    Accessible id for form-level error announcements.

    submitLabel: string

    Label for the submit button.

    submittingLabel: string

    Label shown while the form is submitting.

    onSubmit: (
        payload: { name: string; email: string; password: string },
    ) => Promise<void>

    Persists the validated registration payload.

    externalError?: string

    Optional error shown above the form (e.g. OAuth callback failures).

    isLoading?: boolean

    When true, disables the form while an external action is in progress.

    renderFooter?: (state: { formDisabled: boolean }) => ReactNode

    Optional content rendered below the submit button (e.g. OAuth).