Skip to content

Commit

Permalink
fix: createdAt의 Description, control 에서 7만개의 타입 가져오는 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
bassyu committed Sep 6, 2023
1 parent 74ea124 commit 0d3dcf8
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
import type { GardenPostItem as GardenPostItemProps } from 'types/garden';
import type { Meta, StoryObj } from '@storybook/react';
import { ComponentProps } from 'react';
import GardenPostItem from '.';

const meta: Meta<typeof GardenPostItem> = {
component: GardenPostItem,
argTypes: {
createdAt: {
table: {
type: {
summary: 'DateFormat',
detail: 'YYYY-MM-DD 형식의 문자열',
},
},
control: 'text',
},
},
};

export default meta;
Expand Down

0 comments on commit 0d3dcf8

Please sign in to comment.