Skip to content

Commit 97ba5c1

Browse files
committed
chore: add action buttons to the AI response items
1 parent 993844f commit 97ba5c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pages/chat-bubble/style-permutations.page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createPermutations, PermutationsView } from "@cloudscape-design/build-t
55
import { ChatBubble, ChatBubbleProps } from "../../lib/components";
66
import { Page } from "../app/templates";
77
import { TestBed } from "../app/test-bed";
8-
import { ChatBubbleAvatarGenAI, ChatBubbleAvatarUser, ChatContainer } from "./util-components";
8+
import { Actions, ChatBubbleAvatarGenAI, ChatBubbleAvatarUser, ChatContainer } from "./util-components";
99

1010
const style1 = {
1111
root: {
@@ -33,7 +33,7 @@ const style2 = {
3333
fontWeight: "bold",
3434
paddingBlock: "20px",
3535
paddingInline: "30px",
36-
rowGap: "20px",
36+
rowGap: "30px",
3737
},
3838
};
3939

@@ -44,6 +44,7 @@ const permutations = createPermutations<ChatBubbleProps>([
4444
ariaLabel: ["Chat bubble permutation"],
4545
children: ["Response coming from AI"],
4646
showLoadingBar: [false, true],
47+
actions: [<Actions key="action" />],
4748
hideAvatar: [false],
4849
style: [style1, style2],
4950
},

0 commit comments

Comments
 (0)