UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

19 lines (18 loc) 706 B
import React from 'react'; import { InvitationInfo, CallControlsIconMap } from '../types/index'; interface InvitationContentProps { invitation: InvitationInfo; onAccept: (invitation: InvitationInfo) => void; onReject: (invitation: InvitationInfo) => void; acceptText?: string; rejectText?: string; showAvatar?: boolean; showTimer?: boolean; autoRejectTime?: number; className?: string; style?: React.CSSProperties; customIcons?: CallControlsIconMap; iconRenderer?: (iconType: string, defaultIcon: React.ReactElement, context?: any) => React.ReactElement; } declare const InvitationContent: React.FC<InvitationContentProps>; export default InvitationContent;