diff --git a/src/components/utils/comment-apis.ts b/src/components/utils/comment-apis.ts index 5f129f96c0..326b71045d 100644 --- a/src/components/utils/comment-apis.ts +++ b/src/components/utils/comment-apis.ts @@ -35,3 +35,7 @@ export const addMenuItem = ( ) => { commentAreaManager.forEachCommentArea(area => area.addMenuItem(item, config)) } + +export * from './comment/comment-area' +export * from './comment/comment-item' +export * from './comment/reply-item' diff --git a/src/components/utils/comment/comment-area.ts b/src/components/utils/comment/comment-area.ts index 1ce91d399c..9bcf1deee9 100644 --- a/src/components/utils/comment/comment-area.ts +++ b/src/components/utils/comment/comment-area.ts @@ -8,3 +8,7 @@ export const getCommentArea = (element: HTMLElement): CommentArea => { } return new CommentAreaV1(element) } + +export * from './areas/base' +export * from './areas/v1' +export * from './areas/v2'