aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/widgets/social-media-widget/social-media-widget.stories.tsx
blob: 983ca48120c405eb2201f45b886b56b37cdb6bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import type { Meta, StoryObj } from '@storybook/react';
import { Heading } from '../../../atoms';
import { type SocialMediaData, SocialMediaWidget } from './social-media-widget';

const meta = {
  component: SocialMediaWidget,
  title: 'Organisms/Widgets/Social Media',
} satisfies Meta<typeof SocialMediaWidget>;

export default meta;

type Story = StoryObj<typeof meta>;

const media: SocialMediaData[] = [
  { icon: 'Github', id: 'github', label: 'Github', url: '#' },
  { icon: 'LinkedIn', id: 'gitlab', label: 'Gitlab', url: '#' },
];

export const SocialMedia: Story = {
  args: {
    heading: (
      <Heading isFake level={3}>
        Follow me
      </Heading>
    ),
    media,
  },
};