starklink
Version:
> A library of react components for Follow or chat on Web3MQ
14 lines (13 loc) • 507 B
TypeScript
import React, { FunctionComponent } from 'react';
import '@web3mq/react-components/dist/css/index.css';
import { WalletType } from '@web3mq/client';
export declare type ChatButtonProps = {
username?: string;
userid?: string;
btnText?: string;
targetWalletType: WalletType;
targetWalletAddress: string;
chatBtn?: React.ReactNode;
};
export declare type ChatModalType = 'error' | 'success' | 'loading';
export declare const ChatButton: FunctionComponent<ChatButtonProps>;