ClientState: {
    status: Status;
    username: string | undefined;
    users: User[];
}

The state that is returned by the useClient hook.

Type declaration

  • status: Status
  • username: string | undefined
  • users: User[]