Skip to content

Commit 162bd93

Browse files
committed
Working with Alert
1 parent 8b2ffe1 commit 162bd93

File tree

1 file changed

+7
-0
lines changed
  • test/integration/next-appdir/app

1 file changed

+7
-0
lines changed

test/integration/next-appdir/app/page.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
import { ClientComponent } from "../shared/ClientComponent";
2+
import { Alert } from "@codegouvfr/react-dsfr/Alert";
23

34
export default function Page() {
45

56
return (
67
<>
78
<h1>Hello World</h1>
89
<ClientComponent />
10+
<Alert
11+
closable
12+
description="Everything went well"
13+
severity="success"
14+
title="Message successfully sent"
15+
/>
916
</>
1017
);
1118

0 commit comments

Comments
 (0)