UNPKG

botframework-webchat-component

Version:
17 lines 948 B
import React from 'react'; import { type ActivityComponentFactory } from 'botframework-webchat-api'; import type { ActivityElementMap } from './Transcript/types'; import type { MutableRefObject, ReactNode } from 'react'; import type { WebChatActivity } from 'botframework-webchat-core'; declare function TranscriptActivity({ activityElementMapRef, activityKey, activity, hideTimestamp, renderActivity, renderAvatar, showCallout }: Readonly<{ activityElementMapRef: MutableRefObject<ActivityElementMap>; activityKey: string; activity: WebChatActivity; hideTimestamp: boolean; renderActivity: Exclude<ReturnType<ActivityComponentFactory>, false>; renderAvatar: false | (() => Exclude<ReactNode, boolean | null | undefined>); showCallout: boolean; }>): React.JSX.Element; declare const _default: React.MemoExoticComponent<typeof TranscriptActivity>; export default _default; //# sourceMappingURL=TranscriptActivity.d.ts.map