From 4620a17e0dcac2fd65dc2005a8f0e7ef220217d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 3 Jun 2023 14:58:17 +0100 Subject: [PATCH] feat: added dummy settings modal --- package.json | 1 + pnpm-lock.yaml | 12 +++++++++++ src/components/App.tsx | 6 +++--- src/components/Toolbar.tsx | 23 ++++++++++++++++++++ src/modals/SettingsModal.tsx | 42 ++++++++++++++++++++++++++++++++++++ src/theme.ts | 18 ++++++++++++++++ 6 files changed, 99 insertions(+), 3 deletions(-) create mode 100644 src/components/Toolbar.tsx create mode 100644 src/modals/SettingsModal.tsx diff --git a/package.json b/package.json index af15912..907d0c6 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-dropzone": "^14.2.3", + "react-icons": "^4.9.0", "react-promise-suspense": "^0.3.4", "react-redux": "^8.0.5" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 29dfd3c..f4c38fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,6 +40,9 @@ dependencies: react-dropzone: specifier: ^14.2.3 version: 14.2.3(react@18.2.0) + react-icons: + specifier: ^4.9.0 + version: 4.9.0(react@18.2.0) react-promise-suspense: specifier: ^0.3.4 version: 0.3.4 @@ -6690,6 +6693,15 @@ packages: use-sidecar: 1.1.2(@types/react@18.2.7)(react@18.2.0) dev: false + /react-icons@4.9.0(react@18.2.0): + resolution: + { integrity: sha512-ijUnFr//ycebOqujtqtV9PFS7JjhWg0QU6ykURVHuL4cbofvRCf3f6GMn9+fBktEFQOIVZnuAYLZdiyadRQRFg== } + peerDependencies: + react: '*' + dependencies: + react: 18.2.0 + dev: false + /react-is@16.13.1: resolution: { integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== } diff --git a/src/components/App.tsx b/src/components/App.tsx index 5abf092..6505f44 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -3,6 +3,7 @@ import { SelectFile } from './SelectFile'; import { FileListing } from '~/features/file-listing/FileListing'; import { Footer } from './Footer'; +import { Toolbar } from './Toolbar'; function App() { return ( @@ -11,9 +12,8 @@ function App() {
- - - + +