diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-14 15:48:34 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-14 15:54:54 +0100 |
| commit | 1b34f85f0e3188861c6804666f02b4495cab033c (patch) | |
| tree | 0f26c9b73b8cc47c7136bad6167a0f18a08fd835 /src/components/Notice/Notice.tsx | |
| parent | 637350e4d152de1346857d645bda8443900ec6f4 (diff) | |
chore: improve comment form user experience
Diffstat (limited to 'src/components/Notice/Notice.tsx')
| -rw-r--r-- | src/components/Notice/Notice.tsx | 3 |
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, |
