-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SKomponent for meldedag med titteÃl/ingress
- Loading branch information
1 parent
160daa6
commit a7cfb14
Showing
5 changed files
with
63 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
src/components/meldekort-dag-modal/MeldekortDagStatusValg.tsx
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
src/components/meldekort-dag-modal/status-valg/MeldekortDagStatusValg.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.valg { | ||
border-radius: var(--a-border-radius-large); | ||
padding: 0.25rem 0.5rem; | ||
} | ||
|
||
.utenLønn { | ||
background: var(--a-green-200); | ||
} |
22 changes: 22 additions & 0 deletions
22
src/components/meldekort-dag-modal/status-valg/MeldekortDagStatusValg.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { | ||
MeldekortDeltattUndervalg, | ||
MeldekortIkkeDeltattUndervalg, | ||
} from '@typer/meldekort-utfylling'; | ||
import { BodyLong, Radio } from '@navikt/ds-react'; | ||
|
||
import style from './MeldekortDagStatusValg.module.css' | ||
|
||
type Props = { | ||
status: MeldekortDeltattUndervalg | MeldekortIkkeDeltattUndervalg; | ||
tittel: string; | ||
ingress: string; | ||
}; | ||
|
||
export const MeldekortDagStatusValg = ({ status, tittel, ingress }: Props) => { | ||
return ( | ||
<Radio value={status} className={style.valg}> | ||
<BodyLong weight={'semibold'}>{tittel}</BodyLong> | ||
<BodyLong>{ingress}</BodyLong> | ||
</Radio> | ||
); | ||
}; |