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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
import type { Meta, StoryObj } from '@storybook/react';
import { SocialLink } from './social-link';
const meta = {
component: SocialLink,
title: 'Atoms/Links/Social',
} satisfies Meta<typeof SocialLink>;
export default meta;
type Story = StoryObj<typeof meta>;
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',
},
};
|