Enode — API Reference
    Preparing search index...
    type OwnerEmailChangeFormProps = {
        currentEmail?: string | null;
        onCancel: () => void;
        onDone: () => void;
        send?: (
            newEmail: string,
            currentEmail?: string | null,
        ) => Promise<SubmitSupportResult>;
    }
    Index

    Properties

    currentEmail?: string | null

    The owner's current sign-in email; goes into the request and is the reply address.

    onCancel: () => void
    onDone: () => void

    Called after the request was sent or queued.

    send?: (
        newEmail: string,
        currentEmail?: string | null,
    ) => Promise<SubmitSupportResult>

    Delivery; defaults to sendOwnerEmailChange. Stories / tests pass their own.