@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
30 lines (29 loc) • 803 B
TypeScript
import * as React from 'react';
import { Bus } from '../../../../../../../../common/bus';
import { ChainTypes, LoginRequest, WalletDescriptor } from '../../../../../../../../common/types';
interface Props {
data: {
frameId: string;
app: string;
loginRequest: LoginRequest;
};
bus: Bus;
chain: ChainTypes;
frameId: string;
redirect: (route: string) => void;
}
interface State {
error: string;
connected: boolean;
descriptor: WalletDescriptor | null;
}
export default class Dapplets extends React.Component<Props, State> {
private _mounted;
constructor(props: any);
componentDidMount(): Promise<void>;
componentWillUnmount(): void;
continue(): Promise<void>;
goBack(): void;
render(): React.JSX.Element;
}
export {};