• Create a client and a hook to get the Krmx Client status in a React component.

    Parameters

    • Optional props: Props

      The properties with which to create the Krmx Client.

    Returns {
        client: Client;
        useClient: (() => ClientState);
    }

    An object with the Krmx Client (client) and a hook to use the Krmx Client in a React component (useClient).