From b52b8183ce299b5a2d3c3b2f4f8cb94bb443d746 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 2 Oct 2023 18:07:34 +0200
Subject: refactor(components): rewrite Notice component

* Rename message prop to children prop and set ReactNode as type
---
 src/components/atoms/layout/notice.test.tsx | 12 ------------
 1 file changed, 12 deletions(-)
 delete mode 100644 src/components/atoms/layout/notice.test.tsx

(limited to 'src/components/atoms/layout/notice.test.tsx')

diff --git a/src/components/atoms/layout/notice.test.tsx b/src/components/atoms/layout/notice.test.tsx
deleted file mode 100644
index f5213e4..0000000
--- a/src/components/atoms/layout/notice.test.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import { describe, expect, it } from '@jest/globals';
-import { render, screen } from '../../../../tests/utils';
-import { Notice } from './notice';
-
-const message = 'Tenetur consequuntur tempore.';
-
-describe('Notice', () => {
-  it('renders a message', () => {
-    render(<Notice kind="info" message={message} />);
-    expect(screen.getByText(message)).toBeInTheDocument();
-  });
-});
-- 
cgit v1.2.3

