Skip to content

Commit 518ba6e

Browse files
committed
Update test Apps
1 parent fdc616d commit 518ba6e

File tree

2 files changed

+62
-268
lines changed

2 files changed

+62
-268
lines changed

test/integration/cra/src/App.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Header } from "@codegouvfr/react-dsfr/Header";
12
import { Alert } from "@codegouvfr/react-dsfr/Alert";
23
import { useIsDark, fr } from "@codegouvfr/react-dsfr";
34
import { SwitchColorTheme } from "@codegouvfr/react-dsfr/SwitchColorTheme";
@@ -7,6 +8,29 @@ export function App() {
78

89
return (
910
<>
11+
<Header
12+
intituléOfficiel="Intitulé officiel"
13+
baselinePrécisionsSurLorganisation="baseline - Précision sur l'organisation"
14+
nomDuSiteSlashService="Nom du site / service"
15+
links={[
16+
{
17+
"text": "Créer un espace",
18+
"iconId": "fr-icon-add-circle-line",
19+
"href": "#"
20+
},
21+
{
22+
"text": "Se connecter",
23+
"iconId": "fr-icon-lock-line",
24+
"href": "#"
25+
},
26+
{
27+
"text": "S'enregistrer",
28+
"iconId": "fr-icon-account-line",
29+
"href": "#"
30+
}
31+
]}
32+
/>
33+
1034
<Alert
1135
isClosable={true}
1236
severity="success"

0 commit comments

Comments
 (0)