-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ^set[A-Z].* pattern match to actions
- Loading branch information
Showing
2 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,30 @@ | ||
| import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'; | ||
| import AppView from './AppView'; | ||
| import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs/blocks'; | ||
| import AppView from './AppView'; | ||
|
|
||
| The primary view for webqueue2. | ||
| <Meta | ||
| title="Components/AppView" | ||
| component={AppView} | ||
| argTypes={{ | ||
| setDarkMode: { | ||
| table: { | ||
| disable: true | ||
| } | ||
| } | ||
| }} | ||
| /> | ||
|
|
||
| <Meta title="Components/AppView" component={AppView} /> | ||
| The primary view for webqueue2. This is just a container. | ||
|
|
||
| # AppView without queue selected | ||
| export const Template = (args) => <AppView {...args} /> | ||
|
|
||
| <Canvas> | ||
| <Story name="Default"> | ||
| {args => <AppView {...args} />} | ||
| <Story name="Defailt" | ||
| args={{ | ||
| setDarkMode: () => alert("Function not set for docs."), | ||
| }} | ||
| > | ||
| {args => <AppView {...args} />} | ||
| </Story> | ||
| </Canvas> | ||
|
|
||
|
|
||
|
|
||
| <ArgsTable of={AppView} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters