From 942ac41fff41daa15d24fdb65532a925e1dcf20e Mon Sep 17 00:00:00 2001 From: Chunxian Zhang <1836891291@qq.com> Date: Wed, 3 Aug 2022 01:41:07 +0800 Subject: [PATCH] =?UTF-8?q?fe-36=20=E4=BF=AE=E6=94=B9=E7=BD=91=E9=A1=B5?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=92=8Clogo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lazy-timer-fe/public/index.html | 4 +++- lazy-timer-fe/src/components/index.jsx | 17 +++++++++++++++++ lazy-timer-fe/src/pages/Charts/Stacked.jsx | 14 ++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 lazy-timer-fe/src/components/index.jsx create mode 100644 lazy-timer-fe/src/pages/Charts/Stacked.jsx diff --git a/lazy-timer-fe/public/index.html b/lazy-timer-fe/public/index.html index aa069f2..50ad218 100644 --- a/lazy-timer-fe/public/index.html +++ b/lazy-timer-fe/public/index.html @@ -15,6 +15,8 @@ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> + + - React App + 懒人记时 diff --git a/lazy-timer-fe/src/components/index.jsx b/lazy-timer-fe/src/components/index.jsx new file mode 100644 index 0000000..974ab8b --- /dev/null +++ b/lazy-timer-fe/src/components/index.jsx @@ -0,0 +1,17 @@ +export { default as Button } from './Button'; +export { default as ThemeSettings } from './ThemeSettings'; +export { default as Sidebar } from './Sidebar'; +// eslint-disable-next-line import/no-cycle +export { default as Navbar } from './Navbar'; +export { default as Footer } from './Footer'; +export { default as Cart } from './Cart'; +export { default as Chat } from './Chat'; +export { default as Notification } from './Notification'; +export { default as UserProfile } from './UserProfile'; +export { default as SparkLine } from './Charts/SparkLine'; +export { default as LineChart } from './Charts/LineChart'; +export { default as Stacked } from './Charts/Stacked'; +export { default as Pie } from './Charts/Pie'; +export { default as ChartsHeader } from './ChartsHeader'; +export { default as Header } from './Header'; + diff --git a/lazy-timer-fe/src/pages/Charts/Stacked.jsx b/lazy-timer-fe/src/pages/Charts/Stacked.jsx new file mode 100644 index 0000000..0664ab5 --- /dev/null +++ b/lazy-timer-fe/src/pages/Charts/Stacked.jsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { ChartsHeader, Stacked as StackedChart } from '../../components'; + +const Stacked = () => ( +
+ +
+ +
+
+); + +export default Stacked;