Skip to content

Commit

Permalink
Added holderName to storedCard story
Browse files Browse the repository at this point in the history
  • Loading branch information
sponglord committed Sep 9, 2024
1 parent 07e1668 commit 4e08542
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/lib/storybook/stories/cards/Card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ const createStoredCardComponent = (args: PaymentMethodStoryProps<CardConfigurati
</div>
<div className={'info-extra-item'}>
<div>Last four digits:</div>
<div className={'info-last-four-digits'}>{storedPM.lastFour}</div>
<div className={'info-item-with-top-margin'}>{storedPM.lastFour}</div>
</div>
<div className={'info-extra-item'}>
<div>Holder name:</div>
<div className={'info-item-with-top-margin'}>{storedPM.holderName}</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.stored-card-info{
font-size: 0.9em;
margin-bottom: 10px;
}

.info-container{
Expand All @@ -10,6 +11,6 @@
margin-left:30px;
}

.info-last-four-digits{
.info-item-with-top-margin{
margin-top: 3px;
}

0 comments on commit 4e08542

Please sign in to comment.