devscard/src/components/atoms/typography/typography.stories.tsx
2022-08-27 01:57:54 +02:00

15 lines
397 B
TypeScript

import type { ComponentMeta, ComponentStory } from '@storybook/react';
import * as C from './typography';
export default {
title: 'Typography',
component: C.Typography,
} as ComponentMeta<typeof C.Typography>;
export const Typography: ComponentStory<typeof C.Typography> = (args) => <C.Typography {...args} />;
Typography.args = {
children: 'Typography text',
variant: 'paragraph',
};