Skip to content

Commit 2efc5fc

Browse files
committed
update example
1 parent db81a79 commit 2efc5fc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

example/src/App.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ function App() {
2424
<span className="font-bold">{MQTT_URL}</span>
2525
</Badge>
2626
</div>
27+
<p className="">
28+
You can now publish message to topic
29+
{" "}
30+
<span className="px-1.5 py-0.5 bg-zinc-200 rounded-lg font-mono font-medium">chat/1</span>
31+
{" "}
32+
or
33+
{" "}
34+
<span className="px-1.5 py-0.5 bg-zinc-200 rounded-lg font-mono font-medium">chat/2</span>
35+
{" "}
36+
and see the messages in the cards below.
37+
</p>
2738
</div>
2839
<div>
2940
<Button variant="ghost" size="icon" asChild className="size-8">

0 commit comments

Comments
 (0)