From 04feadd775a4e34d6b43c27180a052c7fca82c0b Mon Sep 17 00:00:00 2001 From: Chunxian Zhang <1836891291@qq.com> Date: Tue, 26 Jul 2022 01:29:18 +0800 Subject: [PATCH] =?UTF-8?q?fe-27=20=E5=BC=B9=E5=87=BA=E6=A1=86=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lazy-timer-fe/src/components/Notification.jsx | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lazy-timer-fe/src/components/Notification.jsx diff --git a/lazy-timer-fe/src/components/Notification.jsx b/lazy-timer-fe/src/components/Notification.jsx new file mode 100644 index 0000000..18f157f --- /dev/null +++ b/lazy-timer-fe/src/components/Notification.jsx @@ -0,0 +1,38 @@ +import React from 'react'; +import { MdOutlineCancel } from 'react-icons/md'; + +import { Button } from '.'; +import { chatData } from '../data/dummy'; +import { useStateContext } from '../contexts/ContextProvider'; + +const Notification = () => { + const { currentColor } = useStateContext(); + + return ( +
Notifications
+ +{item.message}
+{item.desc}
+