UNPKG

@ethora/chat-component

Version:

1. npm create vite@latest 2. select name of project, select type (react/js) 3. cd project-name 4. npm i 5. npm i @ethora/chat-component 6. go to file src/App.tsx and replace it with this code

9 lines (8 loc) 510 B
import { User } from '../../types/types'; export declare function getDocuments(walletAddress: string): Promise<import('axios').AxiosResponse<any, any>>; export declare function getExportMyData(): Promise<import('axios').AxiosResponse<any, any>>; export declare function deleteMe(): Promise<import('axios').AxiosResponse<any, any>>; export declare function updateMe(data: any): Promise<import('axios').AxiosResponse<any, any>>; export declare function updateProfile(fd: FormData): Promise<{ user: User; }>;