From 1b34f85f0e3188861c6804666f02b4495cab033c Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 14 Feb 2022 15:48:34 +0100 Subject: chore: improve comment form user experience --- src/components/Notice/Notice.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/components/Notice/Notice.tsx') 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, -- cgit v1.2.3