Skip to content

Commit 9c78e33

Browse files
committed
update eli item buttons
1 parent c2bc1cb commit 9c78e33

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

src/ui/screens/eligibilty-overview/components/EligibilityOverviewItem.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import RegularButton from '@/ui/shared-components/buttons/RegularButton';
66
import { useSelectedBenefitStore, useSelectedTopicsStore } from "@/ui/storage/zustand";
77
import EligibilityOverviewTag from './EligibilityOverviewTag';
88
import EligibilityOverviewBanner from './EligibilityOverviewBanner';
9+
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
910

1011
const filterKeys = [
1112
'benefitCategories',
@@ -84,22 +85,24 @@ const EligibilityOverviewItem = ({ t, item, eligible }) => {
8485
}
8586
{eligible === 'indeterminate' &&
8687
<RegularButton
87-
variant={'pinkContained'}
88+
variant={'blueHollow'}
8889
onClick={() => {
8990
clearSelectedTopics()
9091
setSelectedBenefit(item.id);
9192
}}
9293
text={'app.browseAll.checkElBtn'}
9394
link={`/onboarding-welcome/${item.id}`}
9495
size='small'
96+
endIcon={<ChevronRightIcon sx={{ fontSize: '16px' }} />}
9597
/>
9698

9799
}
98100
<RegularButton
99-
variant={'blueHollow'}
101+
variant={'blackOutlined'}
100102
text={'app.browseAll.learnMoreBtn'}
101103
link={`/benefit-page/${item.id}`}
102104
size='small'
105+
endIcon={<ChevronRightIcon sx={{ fontSize: '16px' }} />}
103106
/>
104107
</HBox>
105108
</VBox>

src/ui/shared-components/buttons/RegularButton.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ const RegularButton = ({
2626
link = null,
2727
onClick = null,
2828
size = "medium",
29+
startIcon = null,
30+
endIcon = null
2931
}) => {
3032
const { t } = useTranslation();
3133
const chosenSizeStyles = sizeStyles[size] || sizeStyles.medium;
@@ -34,6 +36,8 @@ const RegularButton = ({
3436
return (
3537
<Button
3638
variant="contained"
39+
startIcon={startIcon}
40+
endIcon={endIcon}
3741
sx={{
3842
...chosenSizeStyles,
3943
...chosenVariantStyles,

0 commit comments

Comments
 (0)