This repository has been archived on 2024-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
helse-sprik/frontend/components/FeilCard.tsx
Amalie Mansåker 8b8258dba9 🩹 Fiksa import og hydration error
Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no>
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no>
2023-07-06 09:24:48 +02:00

34 lines
890 B
TypeScript

import "@navikt/ds-css";
import { ExpansionCard, Tag } from "@navikt/ds-react";
const TagBar = () => {
return (
<div>
<Tag variant="info">Jobbes med</Tag>
<div>
<Tag variant="neutral">Spleiselaget</Tag>
<Tag variant="neutral">Haster</Tag>
</div>
</div>
)
}
const FeilCard = () => {
return (
<ExpansionCard aria-label="tekst">
<ExpansionCard.Header>
<ExpansionCard.Title>Dummy</ExpansionCard.Title>
<ExpansionCard.Description>
<p>Dummy Dummy Java</p>
<TagBar />
</ExpansionCard.Description>
</ExpansionCard.Header>
<ExpansionCard.Content>
Hællæ
</ExpansionCard.Content>
</ExpansionCard>
)
}
export default FeilCard;