You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
473 B
21 lines
473 B
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
import { PostIntro } from '@/components/post-intro';
|
|
import { Padding } from './decorators';
|
|
|
|
const meta: Meta<typeof PostIntro> = {
|
|
title: 'Post Intro',
|
|
component: PostIntro,
|
|
decorators: [Padding],
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof PostIntro>;
|
|
|
|
export const Normal: Story = {
|
|
args: {
|
|
title: 'Example Post',
|
|
date: '2022-01-01',
|
|
tags: ['example', 'post', 'storybook'],
|
|
},
|
|
};
|
|
|