18 lines
429 B
TypeScript
18 lines
429 B
TypeScript
|
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
import Typography from './Typography';
|
|
|
|
export default {
|
|
title: 'Typography',
|
|
component: Typography,
|
|
} as ComponentMeta<typeof Typography>;
|
|
|
|
const Template: ComponentStory<typeof Typography> = (args) => (
|
|
<Typography {...args}></Typography>
|
|
);
|
|
|
|
export const TypographyExample = Template.bind({});
|
|
TypographyExample.args = {
|
|
children: ''
|
|
};
|