@web3mq/react-components
Version:
web3mq-react-components
21 lines (20 loc) • 781 B
TypeScript
import React from 'react';
import type { Client } from '@web3mq/client';
import type { UserPermissionsType } from '../MessageConsole/hooks/useOperatePermissions';
import { RelationEnum } from '../MessageConsole/hooks/useOperatePermissions';
declare type FollowRequestButtonGroupProps = {
client: Client;
containerId?: string;
followDisabled?: boolean;
warnText?: string;
showFollow?: boolean;
showBlockBtn?: boolean;
userId?: string;
targetUserPermission: UserPermissionsType;
toChatTargetUser: RelationEnum;
onFollow?: (isCanMessage?: boolean) => void;
onAddFriendCallback?: () => void;
onCancel?: () => void;
};
export declare const FollowRequestButtonGroup: React.FC<FollowRequestButtonGroupProps>;
export {};