Skip to content

Commit

Permalink
chore: Allow storybook Controls to work in control bar
Browse files Browse the repository at this point in the history
They don't work if you specify the values
  • Loading branch information
hatton committed Nov 29, 2024
1 parent 4f5a1db commit 7e5c6a8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/stories/controlBarInteractionl.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@ const Template: StoryFn<typeof ControlBar> = (args) => (
<ControlBar
{...args}
visible={true}
paused
showPlayPause
playLabel="Grind On"
bookLanguages={[
new LangData("Sokoro", "sok"),
new LangData("Englishy", "en"),
new LangData("frenchy", "fr"),
]}
activeLanguageCode="fr"
canGoBack={true}
preferredLanguages={["en", "fr"]}
/>
);
Expand Down

0 comments on commit 7e5c6a8

Please sign in to comment.