UNPKG

@aioha/react-ui

Version:

Ready-made React modal for Aioha

17 lines (16 loc) 546 B
import React from 'react'; import { Providers } from '@aioha/aioha'; import { DiscoverOptions } from '@aioha/aioha/build/types.js'; interface AccountDiscoveryProps { provider: Providers; options?: DiscoverOptions; onPrevious: () => any; onNext: (username: string, details: DiscUserAuth[]) => Promise<any>; } interface DiscUserAuth { pubkey: string; path: string; role: string; } export declare const AccountDiscovery: ({ provider, options, onPrevious, onNext }: AccountDiscoveryProps) => React.JSX.Element; export {};