diff --git a/packages/ui/components/empty-screen/empty-screen.stories.mdx b/packages/ui/components/empty-screen/empty-screen.stories.mdx index d769dc393b..e08ad3c3bc 100644 --- a/packages/ui/components/empty-screen/empty-screen.stories.mdx +++ b/packages/ui/components/empty-screen/empty-screen.stories.mdx @@ -13,16 +13,35 @@ The CTA button can prompt the user to add the info/ apps needed for the page. - - - - - + name="EmptyScreen" + args={{ + headline: 'Empty state header', + description: 'Do consectetur qui ex deserunt do est veniam commodo. Eiusmod eiusmod dolore nostrud pariatur mollit sit commodo. Learn More.', + buttonText: 'Button text', + }} + argTypes={{ + headline: { + control: 'text', + }, + description: { + control: 'text', + }, + buttonText: { + control: 'text', + }, + }} + > + {({ headline, description, buttonText }) => ( + + + + + + )} diff --git a/packages/ui/components/form/checkbox/checkbox.stories.mdx b/packages/ui/components/form/checkbox/checkbox.stories.mdx index ed23692733..16243c02d1 100644 --- a/packages/ui/components/form/checkbox/checkbox.stories.mdx +++ b/packages/ui/components/form/checkbox/checkbox.stories.mdx @@ -45,20 +45,45 @@ Checkboxes are used in forms and databases to indicate an answer to a question, - - - - - - - - - - - - - - - + + {({ label, description, error, disabled }) => ( + + + + + + + + + )} diff --git a/packages/ui/components/toast/toast.stories.mdx b/packages/ui/components/toast/toast.stories.mdx index 36eaa81f04..4a49c82e46 100644 --- a/packages/ui/components/toast/toast.stories.mdx +++ b/packages/ui/components/toast/toast.stories.mdx @@ -1,5 +1,15 @@ import { Canvas, Meta, Story, ArgsTable } from '@storybook/addon-docs'; -import { Examples, Example, Note, Title, VariantsTable, VariantColumn, RowTitles, CustomArgsTable} from '@calcom/storybook/components' +import { + Examples, + Example, + Note, + Title, + VariantsTable, + VariantColumn, + RowTitles, + CustomArgsTable, + VariantRow +} from "@calcom/storybook/components"; import { SuccessToast,ErrorToast,WarningToast,DefaultToast } from './'; @@ -30,3 +40,28 @@ Toasts are used to show an action has had a impact. If a user submits a form a t + +## Toast Story + + + + {({message, toastVisible}) => ( + + + + + + + + + )} + +