💄 Gjort endringer på Modal layout og lagt til header på redigering
This commit is contained in:
parent
e3b8101958
commit
c71c724f78
3 changed files with 22 additions and 15 deletions
|
|
@ -2,11 +2,12 @@ import { PencilIcon, XMarkIcon } from "@navikt/aksel-icons"
|
|||
import { Button } from "@navikt/ds-react"
|
||||
import { FeilmeldingsInnholdInterface } from "../interface"
|
||||
import FeilkortHeader from "./FeilkortHeader"
|
||||
import Skillelinje from "./Skillelinje"
|
||||
|
||||
const FeilmeldingsInnhold = (props: FeilmeldingsInnholdInterface) => {
|
||||
return(
|
||||
<div>
|
||||
<div className="flex justify-between">
|
||||
<>
|
||||
<div className="flex justify-between ">
|
||||
<FeilkortHeader
|
||||
id={props.id}
|
||||
tittel={props.tittel}
|
||||
|
|
@ -27,15 +28,15 @@ const FeilmeldingsInnhold = (props: FeilmeldingsInnholdInterface) => {
|
|||
onClick={() => {
|
||||
props.setVisModal(false)
|
||||
props.setRedigeringsmodus(false)
|
||||
} }
|
||||
}}
|
||||
>
|
||||
Lukk
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="h-2 bg-gray-200 my-4 rounded-lg"></div>
|
||||
<Skillelinje/>
|
||||
{props.children}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
export default FeilmeldingsInnhold;
|
||||
|
|
|
|||
Reference in a new issue