Skip to content

Commit

Permalink
Add alert function to AppView story
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Apr 15, 2021
1 parent e267a69 commit e2f8bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppView/AppView.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const Template = (args) => <AppView {...args} />
<Canvas>
<Story name="Default"
args={{
setDarkMode: () => alert("Function not set for docs."),
setDarkMode: _ => alert("Use the darkmode toggle in the toolbar above.")
}}
>
{args => <AppView {...args} />}
Expand Down

0 comments on commit e2f8bf3

Please sign in to comment.