Skip to content

Commit

Permalink
[story]: 선물 아이템 스토리 수정 (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
uraflower committed May 24, 2024
1 parent 23cf58d commit 8eebdf5
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/stories/GiftItem.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ type Story = StoryObj<typeof GiftItem>;

const giftData: Gift = {
giftId: 1,
productId: 1,
name: '기프트카드 5만원권',
brandName: '올리브영',
photo:
brandName: '브랜드',
productName: '상품',
productThumbnail:
'https://img1.kakaocdn.net/thumb/[email protected]/?fname=https%3A%2F%2Fst.kakaocdn.net%2Fproduct%2Fgift%2Fproduct%2F20201230180133_cd30cb29560f4f1f8c7f380eb94e3cf1.png',
senderName: '홍길동',
receivedDate: '2021.07.01 오전 10:00',
expiredDate: '2022.07.01 오전 10:00',
status: 'unused',
receivedAt: '2022-05-23T23:59:59',
expiredAt: '2024-12-31T23:59:59',
};

export const Item: Story = {
args: { ...giftData },
export const NotUsedGift: Story = {
args: { gift: giftData, status: 'not_used' },
};

0 comments on commit 8eebdf5

Please sign in to comment.