blob: 21d6cd505d25658497c728e9414ba2a06ec97b6f (
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
29
30
31
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
import { IntlProvider } from 'react-intl';
import CCBySAIcon from './cc-by-sa';
export default {
title: 'Atoms/Icons',
component: CCBySAIcon,
argTypes: {
className: {
control: {
type: 'text',
},
description: 'Set additional classnames.',
table: {
category: 'Styles',
},
type: {
name: 'string',
required: false,
},
},
},
} as ComponentMeta<typeof CCBySAIcon>;
const Template: ComponentStory<typeof CCBySAIcon> = (args) => (
<IntlProvider locale="en">
<CCBySAIcon {...args} />
</IntlProvider>
);
export const CCBySA = Template.bind({});
|