diff --git a/.changeset/smart-cars-jog.md b/.changeset/smart-cars-jog.md new file mode 100644 index 0000000000..2dfe755bfc --- /dev/null +++ b/.changeset/smart-cars-jog.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": patch +--- + +fix: wrong `MessageMetrics` export diff --git a/packages/fuselage/src/components/Message/MessageMetrics/index.tsx b/packages/fuselage/src/components/Message/MessageMetrics/index.tsx index 1f52014a34..77c193e3d6 100644 --- a/packages/fuselage/src/components/Message/MessageMetrics/index.tsx +++ b/packages/fuselage/src/components/Message/MessageMetrics/index.tsx @@ -1,6 +1,9 @@ import { MessageMetrics } from './MessageMetrics'; import { MessageMetricsFollowing } from './MessageMetricsFollowing'; -import MessageMetricsItem from './MessageMetricsItem'; +import MessageMetricsItem, { + MessageMetricsItemIcon, + MessageMetricsItemLabel, +} from './MessageMetricsItem'; import { MessageMetricsReply } from './MessageMetricsReply'; export default Object.assign(MessageMetrics, { @@ -18,5 +21,11 @@ export default Object.assign(MessageMetrics, { Following: MessageMetricsFollowing, }); -export { MessageMetrics, MessageMetricsFollowing, MessageMetricsReply }; -export * from './MessageMetricsItem'; +export { + MessageMetrics, + MessageMetricsItem, + MessageMetricsItemIcon, + MessageMetricsItemLabel, + MessageMetricsFollowing, + MessageMetricsReply, +};