From 0f936ec0e7606cb79434d94096b6e113a7ce78eb Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 15 Dec 2023 18:35:16 +0100 Subject: refactor(stories): migrate stories to CSF3 format --- .../atoms/links/social-link/social-link.stories.ts | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/components/atoms/links/social-link/social-link.stories.ts (limited to 'src/components/atoms/links/social-link/social-link.stories.ts') diff --git a/src/components/atoms/links/social-link/social-link.stories.ts b/src/components/atoms/links/social-link/social-link.stories.ts new file mode 100644 index 0000000..f7f4302 --- /dev/null +++ b/src/components/atoms/links/social-link/social-link.stories.ts @@ -0,0 +1,43 @@ +import type { Meta, StoryObj } from '@storybook/react'; +import { SocialLink } from './social-link'; + +const meta = { + component: SocialLink, + title: 'Atoms/Links/Social', +} satisfies Meta; + +export default meta; + +type Story = StoryObj; + +export const Github: Story = { + args: { + icon: 'Github', + label: 'Github profile', + url: '#github', + }, +}; + +export const Gitlab: Story = { + args: { + icon: 'Gitlab', + label: 'Gitlab profile', + url: '#gitlab', + }, +}; + +export const LinkedIn: Story = { + args: { + icon: 'LinkedIn', + label: 'LinkedIn profile', + url: '#linkedin', + }, +}; + +export const Twitter: Story = { + args: { + icon: 'Twitter', + label: 'Twitter profile', + url: '#twitter', + }, +}; -- cgit v1.2.3