diff --git a/frontend/src/components/FeilCard.tsx b/frontend/src/components/FeilCard.tsx index d71eded..7c4d68b 100644 --- a/frontend/src/components/FeilCard.tsx +++ b/frontend/src/components/FeilCard.tsx @@ -1,8 +1,9 @@ import "@navikt/ds-css"; -import { Heading, Modal, Tag } from "@navikt/ds-react"; +import { Button, Heading, Modal, Tag } from "@navikt/ds-react"; import { IFeilmelding } from "../interface"; import FeilModal from "./FeilModal"; import { useEffect, useState } from "react"; +import { PencilIcon, XMarkIcon } from "@navikt/aksel-icons"; /** * En konteiner som inneholder all informasjon og funksjonalitet for å vise og interagere med en feilmelding. @@ -34,7 +35,25 @@ export const FeilKort = (props: IFeilKort) => { - +
+ +
+ + +
+
+ +
{/* TODO: HER KOMMER CONTENT */}
diff --git a/frontend/src/components/FeilModal.tsx b/frontend/src/components/FeilModal.tsx index 9901257..483684c 100644 --- a/frontend/src/components/FeilModal.tsx +++ b/frontend/src/components/FeilModal.tsx @@ -16,6 +16,7 @@ const FeilModal = (props: modalInterface) => { aria-label={" modal"} onClose={() => props.setOpen(false)} aria-labelledby="modal-heading" + closeButton={false} > {props.children}