@mojito-inc/secondary-market
Version:
Mojito secondary market is the platform to purchase NFT.
13 lines (12 loc) • 545 B
TypeScript
import * as React from 'react';
interface Authentication {
onAuthenticated: (token: string) => void;
}
interface AuthenticationProviderProps {
children: React.ReactNode;
onAuthenticated: (token: string) => void;
}
export declare const AuthenticationContext: React.Context<Authentication>;
declare const AuthenticationProvider: ({ children, onAuthenticated }: AuthenticationProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare const useAuthentication: () => Authentication;
export default AuthenticationProvider;