diff options
Diffstat (limited to 'src/components/Notice/Notice.tsx')
| -rw-r--r-- | src/components/Notice/Notice.tsx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/components/Notice/Notice.tsx b/src/components/Notice/Notice.tsx deleted file mode 100644 index 02b1f12..0000000 --- a/src/components/Notice/Notice.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { NoticeType } from '@ts/types/app'; -import { ReactNode } from 'react'; -import styles from './Notice.module.scss'; - -const Notice = ({ - children, - type, -}: { - children: ReactNode; - type: NoticeType; -}) => { - const withModifier = `message--${type}`; - - return ( - <div className={`${styles.message} ${styles[withModifier]}`}> - {children} - </div> - ); -}; - -export default Notice; |
