diff --git a/packages/react/.storybook/story-config.ts b/packages/react/.storybook/story-config.ts index 975624d4..c34b0de5 100644 --- a/packages/react/.storybook/story-config.ts +++ b/packages/react/.storybook/story-config.ts @@ -48,6 +48,7 @@ export type Stories = | 'Container' | 'Divider' | 'Drawer' + | 'Footer' | 'Grid' | 'Header' | 'IconButton' @@ -70,6 +71,7 @@ export type Stories = | 'Tooltip' | 'Typeset' | 'Typography' + | 'UserDropdownMenu' | 'Welcome'; export type StorybookConfig = Record< Stories, @@ -142,6 +144,9 @@ const StoryConfig: StorybookConfig = { Drawer: { hierarchy: `${StorybookCategories.Navigation}/Drawer`, }, + Footer: { + hierarchy: `${StorybookCategories.Navigation}/Footer`, + }, Grid: { hierarchy: `${StorybookCategories.Layout}/Grid`, }, diff --git a/packages/react/src/components/Footer/Footer.stories.mdx b/packages/react/src/components/Footer/Footer.stories.mdx new file mode 100644 index 00000000..d1de9c74 --- /dev/null +++ b/packages/react/src/components/Footer/Footer.stories.mdx @@ -0,0 +1,89 @@ +import {useArgs} from '@storybook/client-api'; +import {ArgsTable, Source, Story, Canvas, Meta} from '@storybook/addon-docs'; +import dedent from 'ts-dedent'; +import StoryConfig from '../../../.storybook/story-config.ts'; +import Footer from './Footer.tsx'; + +export const meta = { + component: Footer, + title: StoryConfig.Footer.hierarchy, +}; + + + +export const Template = args => { + const [runtimeArgs, updateArgs] = useArgs(); + return