File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ export {
3535 errorBoxComponent ,
3636 ErrorBoxPolymiddlewareProxy ,
3737 useBuildRenderErrorBoxCallback ,
38+ // For type portability only.
39+ type __INTERNAL_DO_NOT_USE__avatarPolymiddlewareRequestStyleOptionsSymbol ,
3840 type ErrorBoxPolymiddleware ,
3941 type ErrorBoxPolymiddlewareHandler ,
4042 type ErrorBoxPolymiddlewareHandlerResult ,
Original file line number Diff line number Diff line change 11import type { StyleOptions } from 'botframework-webchat-api' ;
2- import { avatarComponent , createAvatarPolymiddleware } from 'botframework-webchat-api/middleware' ;
2+ import {
3+ avatarComponent ,
4+ createAvatarPolymiddleware ,
5+ type __INTERNAL_DO_NOT_USE__avatarPolymiddlewareRequestStyleOptionsSymbol
6+ } from 'botframework-webchat-api/middleware' ;
37import DefaultAvatar from './DefaultAvatar' ;
48
59function createDefaultAvatarMiddleware ( styleOptions : StyleOptions | undefined ) {
Original file line number Diff line number Diff line change @@ -10,3 +10,6 @@ export { default as ScreenReaderText } from '../ScreenReaderText';
1010export { default as createIconComponent } from '../Utils/createIconComponent' ;
1111export { default as parseDocumentFragmentFromString } from '../Utils/parseDocumentFragmentFromString' ;
1212export { default as serializeDocumentFragmentIntoString } from '../Utils/serializeDocumentFragmentIntoString' ;
13+
14+ // For type portability
15+ export { __INTERNAL_DO_NOT_USE__avatarPolymiddlewareRequestStyleOptionsSymbol } from 'botframework-webchat-api/internal' ;
You can’t perform that action at this time.
0 commit comments