diff --git a/src/components/Footer/Footer.stories.tsx b/src/components/Footer/Footer.stories.tsx index 119673cb..9018e149 100644 --- a/src/components/Footer/Footer.stories.tsx +++ b/src/components/Footer/Footer.stories.tsx @@ -1,5 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; +import { Icon } from '../Icon/Icon'; import Footer from './Footer'; +import { FooterCfGov } from './FooterCFGOV'; const meta: Meta = { component: Footer, @@ -10,6 +12,45 @@ export default meta; type Story = StoryObj; +const makeLink = (label: string, isExternal?: boolean): JSX.Element => ( + + {label} + {isExternal ? : null} + +); + +const makeSocialLink = (label: string): JSX.Element => ( + + + +); + +export const Example: Story = { + args: { + navLinks: [makeLink('Nav 1'), makeLink('Nav 2'), makeLink('Nav 3')], + socialLinks: [makeSocialLink('facebook'), makeSocialLink('youtube')], + linksCol1: [ + makeLink('Col1 Link 1'), + makeLink('Col1 Link 2'), + makeLink('Col1 Link 3') + ], + linksCol2: [ + makeLink('Col2 Link 1'), + makeLink('Col2 Link 2'), + makeLink('Col2 Link 3') + ], + linksCol3: [ + makeLink('Col3 Link 1', true), + makeLink('Col3 Link 2', true), + makeLink('Col3 Link 3', true) + ] + } +}; + export const CFGov: Story = { - args: {} + render: () => };