@hypernetlabs/web-ui
Version:
Web ui react components for hypernet protocol
12 lines • 452 B
TypeScript
import { GatewayUrl } from "@hypernetlabs/objects";
interface IState {
loading: boolean;
error: any;
gatewaysMap: Map<GatewayUrl, boolean>;
openGatewayIFrame: (gatewayUrl: GatewayUrl) => void;
deauthorizeGateway: (gatewayUrl: GatewayUrl) => void;
authorizeGateway: (gatewayUrl: GatewayUrl, successCallback?: Function) => void;
}
export declare function useGateways(): IState;
export {};
//# sourceMappingURL=useGateways.d.ts.map