📝 La til dokumentasjon for feilkortkomponentene
This commit is contained in:
parent
a4ed380f9f
commit
49c4a09f7c
2 changed files with 59 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { FeilCard } from "./FeilCard";
|
||||
import { FeilKort } from "./FeilCard";
|
||||
import { Feilmelding } from "../interface.ts";
|
||||
|
||||
interface ICardsContainer {
|
||||
|
|
@ -22,7 +22,7 @@ const CardsContainer = (props: ICardsContainer) => {
|
|||
/>
|
||||
))} */}
|
||||
{props.feilmeldinger.map((feilMelding) => (
|
||||
<FeilCard
|
||||
<FeilKort
|
||||
key={props.feilmeldinger.indexOf(feilMelding)}
|
||||
tittel={feilMelding.tittel}
|
||||
beskrivelse={feilMelding.beskrivelse}
|
||||
|
|
|
|||
Reference in a new issue