Skip to content

Commit

Permalink
checkmark to the right
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerGery committed Jan 3, 2024
1 parent c3089f5 commit c4ba270
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion examples/client/Locomotion/src/Components/CardRow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const CardRow = (paymentMethod: any) => {
: (
<>
{!paymentMethod.noSvg && getPaymentMethodIcon()}
{paymentMethod.mark ? (
{(paymentMethod.mark && !paymentMethod.alignMarkToRight) ? (
<SvgIcon
style={{
position: 'absolute',
Expand Down Expand Up @@ -219,6 +219,17 @@ const CardRow = (paymentMethod: any) => {
{paymentMethod.disabledReason}
</Description>
)}
{(paymentMethod.mark && paymentMethod.alignMarkToRight) ? (
<SvgIcon
style={{
position: 'absolute',
right: 10,
bottom: 15,
}}
Svg={selected}
fill={primaryColor}
/>
) : null }
</Container>
</Button>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const PaymentMethodPopup = ({
<PaymentMethod
testIdPrefix="Dialog"
noSvg
alignMarkToRight
noNotCapitalizeName
{...paymentMethod}
chooseMethodPage
Expand Down

0 comments on commit c4ba270

Please sign in to comment.