-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fjerner komponenten FamilieAlert og bytter den ut med Aksel sin Alert…
… komponent (#1276) * Fjerner "FamilieAlert" og bytter den ut med vanlig Alert fra Aksel * Legger tilbake inline på Alert * Legger tilbake inline på Alert * Legger tilbake inline på Alert * Setter variant prop med {} slik som det er gjort andre steder i applikasjonen * Skriver om tester for OmDeg for alerts
- Loading branch information
1 parent
b12183a
commit c4dc8bc
Showing
18 changed files
with
76 additions
and
124 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
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
43 changes: 0 additions & 43 deletions
43
src/frontend/components/Felleskomponenter/FamilieAlert/FamilieAlert.tsx
This file was deleted.
Oops, something went wrong.
7 changes: 4 additions & 3 deletions
7
src/frontend/components/Felleskomponenter/Feilside/Feilside.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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
import React from 'react'; | ||
|
||
import FamilieAlert from '../FamilieAlert/FamilieAlert'; | ||
import { Alert } from '@navikt/ds-react'; | ||
|
||
import SpråkTekst from '../SpråkTekst/SpråkTekst'; | ||
|
||
export const Feilside: React.FC = () => { | ||
return ( | ||
<div> | ||
<FamilieAlert variant={'error'} dynamisk> | ||
<Alert variant={'error'} inline aria-live={'polite'}> | ||
<SpråkTekst id={'felles.crashmelding'} /> | ||
</FamilieAlert> | ||
</Alert> | ||
</div> | ||
); | ||
}; |
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
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
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
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
Oops, something went wrong.