botframework-webchat-component
Version:
React component of botframework-webchat
17 lines • 673 B
TypeScript
import React from 'react';
import type { ReactNode } from 'react';
import type { RenderAttachment } from 'botframework-webchat-api';
import type { WebChatActivity } from 'botframework-webchat-core';
type StackedLayoutProps = {
activity: WebChatActivity;
hideTimestamp?: boolean;
renderActivityStatus?: (options: {
hideTimestamp: boolean;
}) => ReactNode;
renderAttachment?: RenderAttachment;
renderAvatar?: false | (() => Exclude<ReactNode, boolean | null | undefined>);
showCallout?: boolean;
};
declare const _default: React.NamedExoticComponent<StackedLayoutProps>;
export default _default;
//# sourceMappingURL=StackedLayout.d.ts.map