️ La til heading på Switch i redigeringsskjema

This commit is contained in:
Markus Johansen 2023-08-02 18:57:45 +02:00
parent 194bda6739
commit dee5b627a3

View file

@ -1,5 +1,5 @@
import { FloppydiskIcon, XMarkIcon } from "@navikt/aksel-icons" import { FloppydiskIcon, XMarkIcon } from "@navikt/aksel-icons"
import { TextField, Textarea, RadioGroup, Radio, Button, Switch } from "@navikt/ds-react" import { TextField, Textarea, RadioGroup, Radio, Button, Switch, Heading } from "@navikt/ds-react"
import { useState } from "react" import { useState } from "react"
import { FeilmeldingsInnholdInterface } from "../interface" import { FeilmeldingsInnholdInterface } from "../interface"
import axios from "axios" import axios from "axios"
@ -65,8 +65,11 @@ const RedigeringsVerktoy = (props: redigeringsInterface) => {
<Radio value={2}>Feilen er fikset</Radio> <Radio value={2}>Feilen er fikset</Radio>
</RadioGroup> </RadioGroup>
<Skillelinje/> <Skillelinje/>
<Heading size="xsmall">
Haster det å fikse feilen?
</Heading>
<Switch checked={haster} onClick={() => setHaster(!haster)}> <Switch checked={haster} onClick={() => setHaster(!haster)}>
Saken haster Feilen haster
</Switch> </Switch>
</div> </div>
<div className="flex gap-4 items-start"> <div className="flex gap-4 items-start">