Skip to content

Commit f2d4713

Browse files
committed
add picto to test
1 parent abba64c commit f2d4713

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/integration/vite/src/Home.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { useState } from "react";
1111
import { Table } from "@codegouvfr/react-dsfr/Table";
1212

1313
import { Accordion } from "@codegouvfr/react-dsfr/Accordion";
14+
import { Book, Money, Police, Sun } from '@codegouvfr/react-dsfr/picto';
1415

1516
export function Home() {
1617
const { isDark, setIsDark } = useIsDark();
@@ -30,6 +31,13 @@ export function Home() {
3031
<i className={fr.cx("fr-icon-ancient-gate-fill")} aria-hidden="true" />
3132
</div>
3233

34+
<div className={fr.cx("fr-my-4w")}>
35+
<Police fontSize="large" />
36+
<Book fontSize="large" />
37+
<Money fontSize="large" />
38+
<Sun fontSize="large" />
39+
</div>
40+
3341
<div className={fr.cx("fr-my-4w")}>
3442
<Button
3543
type="button"

0 commit comments

Comments
 (0)