Skip to content

Commit 6608948

Browse files
committed
feat: add close button to upgrade modal
1 parent 803eb82 commit 6608948

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/containers/Modals/UpgradeModal/index.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
ThemeIcon,
1111
AspectRatio,
1212
Paper,
13+
CloseButton,
1314
} from "@mantine/core";
1415
import { LuCrown, LuTrendingUp } from "react-icons/lu";
1516

@@ -27,9 +28,12 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
2728
overlayProps={{ blur: 1 }}
2829
>
2930
<Stack gap="24" px="40" py="20">
30-
<Title c="bright" fw="500" fz="24">
31-
Upgrade to unlock all features
32-
</Title>
31+
<Flex justify="space-between">
32+
<Title c="bright" fw="500" fz="24">
33+
Upgrade to unlock all features
34+
</Title>
35+
<CloseButton onClick={onClose} />
36+
</Flex>
3337
<Flex gap="20">
3438
<ThemeIcon color="green" variant="light" size="xl" radius="xl">
3539
<LuCrown size="20" />

0 commit comments

Comments
 (0)