diff --git a/src/components/AppView/AppView.stories.mdx b/src/components/AppView/AppView.stories.mdx index 9d40fcd..2c2bec6 100644 --- a/src/components/AppView/AppView.stories.mdx +++ b/src/components/AppView/AppView.stories.mdx @@ -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. + - +The primary view for webqueue2. This is just a container. -# AppView without queue selected +export const Template = (args) => - - {args => } + alert("Function not set for docs."), + }} + > + {args => } - - + \ No newline at end of file diff --git a/storybook/preview.js b/storybook/preview.js index f095715..91307fb 100644 --- a/storybook/preview.js +++ b/storybook/preview.js @@ -59,7 +59,7 @@ export const decorators = [ */ export const parameters = { // Match arg names starting with on and followed by at least one capital letter for actions. - actions: { argTypesRegex: "^on[A-Z].*" }, + actions: { argTypesRegex: "^on|set[A-Z].*" }, options: { storySort: { method: 'alphabetical',