botframework-webchat-component
Version:
React component of botframework-webchat
11 lines • 520 B
TypeScript
import type { RefObject } from 'react';
import type { WebChatActivity } from 'botframework-webchat-core';
/**
* Computes accessible name of an activity during transcript navigation.
*
* This text should be kept simple and short.
*
* Due to a bug in Safari, accessible name for active descendant must be a string but not a DOM element.
*/
export default function useActivityAccessibleName(activity: WebChatActivity, bodyRef: RefObject<HTMLElement>): string[];
//# sourceMappingURL=useActivityAccessibleName.d.ts.map