✨ Laget frontend ikke-funksjonellt skjermbildeOpplastning-komponent
This commit is contained in:
parent
3917d1640e
commit
eae9996ece
2 changed files with 43 additions and 7 deletions
|
@ -5,6 +5,7 @@ import { Button, Heading, TextField, Textarea } from "@navikt/ds-react";
|
|||
import post from "../api/http";
|
||||
import { useState } from "react";
|
||||
import router from "next/router";
|
||||
import BildeOpplastning from "@/components/BildeOpplastning";
|
||||
|
||||
export default function Feil() {
|
||||
const [tittel, setTittel] = useState("");
|
||||
|
@ -52,13 +53,7 @@ export default function Feil() {
|
|||
description="Detaljert beskrivelse av problemet"
|
||||
onChange={e => setBeskrivelse(e.target.value)}
|
||||
/>
|
||||
|
||||
<Button
|
||||
variant="secondary"
|
||||
icon={<UploadIcon />}
|
||||
>
|
||||
Last opp skjermbilder
|
||||
</Button>
|
||||
<BildeOpplastning/>
|
||||
</div>
|
||||
<div className="w-1/2 flex flex-col gap-2 justify-center">
|
||||
<Button
|
||||
|
|
Reference in a new issue