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 05a637c7d3 Laget component til å vise feilsaker
Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no>
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no>
2023-07-05 16:04:42 +02:00

34 lines
882 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>
Dummy Dummy Java
<TagBar />
</ExpansionCard.Description>
</ExpansionCard.Header>
<ExpansionCard.Content>
Hællæ
</ExpansionCard.Content>
</ExpansionCard>
)
}
export default FeilCard;