Skip to content

Commit

Permalink
chore: update decisions
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarig committed Jan 31, 2025
1 parent 36cda0b commit fecd872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/blade/src/components/ChatMessage/_decision.md
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand All @@ -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';
Expand Down

0 comments on commit fecd872

Please sign in to comment.