diff --git a/packages/react-chat/src/components/ChatMessage/ChatMessage.types.ts b/packages/react-chat/src/components/ChatMessage/ChatMessage.types.ts index a87fb77de..a96b7b9e6 100644 --- a/packages/react-chat/src/components/ChatMessage/ChatMessage.types.ts +++ b/packages/react-chat/src/components/ChatMessage/ChatMessage.types.ts @@ -42,7 +42,7 @@ export type ChatMessageSlots = { */ export type ChatMessageProps = Omit< ComponentProps, 'body'>, - 'className' | 'style' | 'ref' | 'id' | 'tabIndex' + 'style' | 'ref' | 'id' | 'tabIndex' > & { /** * Whether the bubble is on the top/center/bottom of a group of messages. diff --git a/packages/react-chat/src/components/ChatMyMessage/ChatMyMessage.types.ts b/packages/react-chat/src/components/ChatMyMessage/ChatMyMessage.types.ts index 6386f9870..26b9a6154 100644 --- a/packages/react-chat/src/components/ChatMyMessage/ChatMyMessage.types.ts +++ b/packages/react-chat/src/components/ChatMyMessage/ChatMyMessage.types.ts @@ -58,7 +58,7 @@ export type ChatMyMessageSlots = { export type ChatMyMessageProps = Omit< ComponentProps, 'body'>, - 'className' | 'style' | 'ref' | 'id' + 'style' | 'ref' | 'id' > & { decoration?: 'important' | 'urgent'; status?: 'sending' | 'received' | 'read' | 'failed' | 'blocked' | 'scheduled';