diff --git a/packages/blade/src/components/ChatMessage/_decision.md b/packages/blade/src/components/ChatMessage/_decision.md index 06ed73deaf9..072e6bf83fd 100644 --- a/packages/blade/src/components/ChatMessage/_decision.md +++ b/packages/blade/src/components/ChatMessage/_decision.md @@ -17,7 +17,7 @@ This will be our main component that will be used to render the chat bubble. | Prop | Type | Default | Required | Description | | ---------------------- | ------------------------------------------- | ------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| isLastMessage | 'last' or 'default' | default | No | If the message is the last message in the chat and if this prop is enabled we will add decorations messageBubble | +| messageType | 'last' or 'default' | default | No | If the message is the last message in the chat and if this prop is enabled we will add decorations messageBubble | | senderType | 'self' or 'other' | self | No | we will add different styles based on this bubble | | isLoading | Boolean | false | No | If the message is loading, we will add a loading animation to the chat bubble | | validationState | 'error' or 'none' | none | No | if validation state is error we will show error decoration and message| @@ -30,7 +30,7 @@ This will be our main component that will be used to render the chat bubble. ```tsx type ChatMessageProps = { - isLastMessage?: 'last' | 'default'; + messageType?: 'last' | 'default'; senderType?: 'self' | 'other'; isLoading?: boolean; validationState?: 'error' | 'none';