From fca54d16e95f160d4a13aa9a4dcf16893b3e5a62 Mon Sep 17 00:00:00 2001 From: Chunxian Zhang <1836891291@qq.com> Date: Fri, 29 Jul 2022 01:31:23 +0800 Subject: [PATCH] =?UTF-8?q?fe-30=20=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lazy-timer-fe/src/components/UserProfile.jsx | 68 ++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 lazy-timer-fe/src/components/UserProfile.jsx diff --git a/lazy-timer-fe/src/components/UserProfile.jsx b/lazy-timer-fe/src/components/UserProfile.jsx new file mode 100644 index 0000000..18b9602 --- /dev/null +++ b/lazy-timer-fe/src/components/UserProfile.jsx @@ -0,0 +1,68 @@ +import React from 'react'; +import { MdOutlineCancel } from 'react-icons/md'; + +import { Button } from '.'; +import { userProfileData } from '../data/dummy'; +import { useStateContext } from '../contexts/ContextProvider'; +import avatar from '../data/avatar.jpg'; + +const UserProfile = () => { + const { currentColor } = useStateContext(); + + return ( +
+
+

User Profile

+
+
+ user-profile +
+

Michael Roberts

+

Administrator

+

info@shop.com

+
+
+
+ {userProfileData.map((item, index) => ( +
+ + +
+

{item.title}

+

{item.desc}

+
+
+ ))} +
+
+
+
+ + ); +}; + +export default UserProfile;