Skip to content

Commit

Permalink
Merge pull request #4827 from Giveth:add-sparkly-icon
Browse files Browse the repository at this point in the history
add sparkle icon recurring donation
  • Loading branch information
divine-comedian authored Oct 7, 2024
2 parents 8f5872c + 7665bd5 commit f1bb984
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/views/donate/DonationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {
Flex,
SublineBold,
brandColors,
IconSpark,
semanticColors,
} from '@giveth/ui-design-system';
import React, { FC, useState, useEffect } from 'react';
import styled, { css } from 'styled-components';
Expand Down Expand Up @@ -192,6 +194,10 @@ export const DonationCard: FC<IDonationCardProps> = ({
{formatMessage({
id: 'label.recurring_donation',
})}
<IconSpark
size={28}
color={semanticColors.golden[500]}
/>
</Tab>
) : (
!disableRecurringDonations && (
Expand Down Expand Up @@ -284,6 +290,8 @@ interface ITab {

const Tab = styled(BaseTab)<ITab>`
font-weight: 500 !important;
display: flex;
align-items: center;
cursor: pointer;
${props =>
props.$selected &&
Expand Down

0 comments on commit f1bb984

Please sign in to comment.