aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Notice/Notice.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-14 15:48:34 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-14 15:54:54 +0100
commit1b34f85f0e3188861c6804666f02b4495cab033c (patch)
tree0f26c9b73b8cc47c7136bad6167a0f18a08fd835 /src/components/Notice/Notice.tsx
parent637350e4d152de1346857d645bda8443900ec6f4 (diff)
chore: improve comment form user experience
Diffstat (limited to 'src/components/Notice/Notice.tsx')
-rw-r--r--src/components/Notice/Notice.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/Notice/Notice.tsx b/src/components/Notice/Notice.tsx
index 472efa5..02b1f12 100644
--- a/src/components/Notice/Notice.tsx
+++ b/src/components/Notice/Notice.tsx
@@ -1,8 +1,7 @@
+import { NoticeType } from '@ts/types/app';
import { ReactNode } from 'react';
import styles from './Notice.module.scss';
-type NoticeType = 'error' | 'info' | 'success' | 'warning';
-
const Notice = ({
children,
type,