fix: Use CloseIcon

This commit is contained in:
Chuma McPhoy
2024-07-11 12:05:18 +02:00
parent 6b42090160
commit 5d23830138
2 changed files with 3 additions and 6 deletions

View File

@@ -1,7 +1,8 @@
"use client" "use client"
import { Children, PropsWithChildren } from "react" import { Children, PropsWithChildren } from "react"
import { X } from "react-feather"
import { CloseIcon } from "@/components/Icons"
import Title from "../Text/Title" import Title from "../Text/Title"
@@ -33,7 +34,7 @@ export default function Content({
}} }}
className={styles.closeBtn} className={styles.closeBtn}
> >
<X height={32} width={32} className={styles.closeIcon} /> <CloseIcon color="burgundy" height={32} width={32} />
</button> </button>
</header> </header>
{children} {children}

View File

@@ -41,10 +41,6 @@
cursor: pointer; cursor: pointer;
} }
.closeIcon {
color: var(--Scandic-Brand-Burgundy);
}
.dialog { .dialog {
height: 100%; height: 100%;
} }