Skip to content

Commit

Permalink
test: prop 변경으로 스토리북 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhokim98 committed Sep 28, 2024
1 parent a26f043 commit 10d0a6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const meta = {
},
},
args: {
clipboardText: '토스뱅크 010100-10-123123',
onBankButtonClick: () => console.log('안녕'),
},
} satisfies Meta<typeof BankSendButton>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,28 @@ const meta = {
memberName: '소하',
price: 2000,
isDeposited: true,
clipboardText: '토스은행 2000원',
onBankButtonClick: () => console.log('소하'),
onBankButtonClick: (amount: number) => console.log(amount),
},
{
memberId: 2,
memberName: '토다리',
price: 2000,
isDeposited: false,
clipboardText: '토스은행 2000원',
onBankButtonClick: () => console.log('토다리'),
onBankButtonClick: (amount: number) => console.log(amount),
},
{
memberId: 3,
memberName: '웨디',
price: 1080,
isDeposited: true,
clipboardText: '토스은행 1080원',
onBankButtonClick: () => console.log('웨디'),
onBankButtonClick: (amount: number) => console.log(amount),
},
{
memberId: 4,
memberName: '쿠키',
price: 3020,
isDeposited: false,
clipboardText: '토스은행 3020원',
onBankButtonClick: () => console.log('쿠키'),
onBankButtonClick: (amount: number) => console.log(amount),
},
],
},
Expand Down

0 comments on commit 10d0a6d

Please sign in to comment.