From fbd6aa03155b8b4912348494bca67d9c720b5918 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 5 May 2026 16:23:22 +0200 Subject: [PATCH] add toggle example to default component --- src/components/MediaMuteAndSwitchButton.stories.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/MediaMuteAndSwitchButton.stories.tsx b/src/components/MediaMuteAndSwitchButton.stories.tsx index ba12d796..fe026b2e 100644 --- a/src/components/MediaMuteAndSwitchButton.stories.tsx +++ b/src/components/MediaMuteAndSwitchButton.stories.tsx @@ -49,6 +49,13 @@ export const AudioMute: Story = { { label: "Microphone 1", id: "1" }, { label: "Microphone 2", id: "2" }, ], + toggles: [ + { + label: "example toggle", + id: "t0", + enabled: true, + }, + ], selectedOption: "2", }, play: async ({ args, canvasElement }) => { @@ -70,6 +77,7 @@ export const AudioUnmute: Story = { { label: "Microphone 1", id: "1" }, { label: "Microphone 2", id: "2" }, ], + toggles: [], selectedOption: "2", }, }; @@ -83,6 +91,7 @@ export const VideoMute: Story = { { label: "Camera 1", id: "1" }, { label: "Camera 2", id: "2" }, ], + toggles: [], selectedOption: "1", }, };