From 0bbcdf62017cf71cf74156e94ddfd13fb0860256 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 21 May 2022 14:45:50 +0430 Subject: [PATCH] update 1 file and delete 5 files --- .../images/SelectYeararrow-down.svg | 0 .../arrow-up.svg => public/images/SelectYeararrow-up.svg | 0 .../SelectYear/SelectYearMonth.js} | 0 src/components/{ => MiniComponents}/SelectYear/index.js | 5 ++--- src/components/MiniComponents/index.js | 8 +++++--- src/components/SelectYear/index.scss | 0 6 files changed, 7 insertions(+), 6 deletions(-) rename src/components/SelectYear/arrow-down.svg => public/images/SelectYeararrow-down.svg (100%) rename src/components/SelectYear/arrow-up.svg => public/images/SelectYeararrow-up.svg (100%) rename src/components/{SelectYear/Month.js => MiniComponents/SelectYear/SelectYearMonth.js} (100%) rename src/components/{ => MiniComponents}/SelectYear/index.js (96%) delete mode 100644 src/components/SelectYear/index.scss diff --git a/src/components/SelectYear/arrow-down.svg b/public/images/SelectYeararrow-down.svg similarity index 100% rename from src/components/SelectYear/arrow-down.svg rename to public/images/SelectYeararrow-down.svg diff --git a/src/components/SelectYear/arrow-up.svg b/public/images/SelectYeararrow-up.svg similarity index 100% rename from src/components/SelectYear/arrow-up.svg rename to public/images/SelectYeararrow-up.svg diff --git a/src/components/SelectYear/Month.js b/src/components/MiniComponents/SelectYear/SelectYearMonth.js similarity index 100% rename from src/components/SelectYear/Month.js rename to src/components/MiniComponents/SelectYear/SelectYearMonth.js diff --git a/src/components/SelectYear/index.js b/src/components/MiniComponents/SelectYear/index.js similarity index 96% rename from src/components/SelectYear/index.js rename to src/components/MiniComponents/SelectYear/index.js index 3b823f4..c0e21e0 100644 --- a/src/components/SelectYear/index.js +++ b/src/components/MiniComponents/SelectYear/index.js @@ -3,10 +3,9 @@ import React, { useState, useRef } from "react"; import ScrollContainer from "react-indiana-drag-scroll"; -import "./index.scss"; -import arrowDown from "./arrow-down.svg"; -import arrowUp from "./arrow-up.svg"; +import arrowDown from "images/SelectYeararrow-down.svg"; +import arrowUp from "images/SelectYeararrow-up.svg"; import Month from "./Month.js"; const SelectYear = ({ items }) => { diff --git a/src/components/MiniComponents/index.js b/src/components/MiniComponents/index.js index 1285680..4851700 100644 --- a/src/components/MiniComponents/index.js +++ b/src/components/MiniComponents/index.js @@ -10,6 +10,7 @@ import CancleIcon from "./CancleIcon"; import CircleInCircle from "./CircleInCircle"; import DropDown from "./DropDown"; import IconText from "./IconText"; +import SelectYear from "./SelectYear"; function MiniComponents() { const list = { @@ -20,9 +21,10 @@ function MiniComponents() { 5: , 6: , 7: , - 7: , - 8: , - 8: , + 8: , + 9: , + 10: , + 11: , }; const [type, setType] = useState(1); diff --git a/src/components/SelectYear/index.scss b/src/components/SelectYear/index.scss deleted file mode 100644 index e69de29..0000000