@cfxlabsinc/b2b-services
    Preparing search index...
    SubmitButton: React.FC<
        PropsWithChildren<
            Pick<ButtonProps, "variant" | "className" | "aria-describedby"> & {
                intent?: string;
                onClick?: (event: ReactMouseEvent<HTMLButtonElement>) => void;
                pendingLabel: string;
            },
        >,
    > = ...

    Submits the enclosing form and spins while it runs. Two buttons in one form tell their presses apart by intent, so only the pressed one spins.