Skip to content

Commit 71f822c

Browse files
authored
Chore: add file sample to the queue component sample (#191)
1 parent 72e6fa0 commit 71f822c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/examples/src/queue.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ const sampleMessages: QueueMessage[] = [
3333
},
3434
{
3535
id: "msg-3",
36-
parts: [{ type: "text", text: "Can you review my PR?" }],
36+
parts: [{ type: "text", text: "Update the default logo to this png." },
37+
{
38+
type: "file",
39+
url: "https://github.com/haydenbleasel.png",
40+
filename: "setup-guide.png",
41+
mediaType: "image/png",
42+
}
43+
],
3744
},
3845
{
3946
id: "msg-4",

0 commit comments

Comments
 (0)