From f514d25cf4ed5713f7a768e6b18253b3ea39c1f0 Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 17 May 2022 12:46:38 +0430 Subject: [PATCH] update 3 files and delete 1 file --- src/components/FileManager/index.js | 3 +-- .../{ => MiniComponents}/Folderlist/index.js | 4 ++-- .../MiniComponents/Playlist/index.js | 22 +++++-------------- src/components/ReactTable4/index.js | 5 +---- 4 files changed, 10 insertions(+), 24 deletions(-) rename src/components/{ => MiniComponents}/Folderlist/index.js (97%) diff --git a/src/components/FileManager/index.js b/src/components/FileManager/index.js index af18ca7..d4c2e4e 100644 --- a/src/components/FileManager/index.js +++ b/src/components/FileManager/index.js @@ -6,9 +6,8 @@ import TitleSubtitle from "../MiniComponents/TitleSubtitle"; import CardHolder from "../CardDesgin/CardHolder"; import Button from "../ButtonDesign/Button"; import Playlist from "../MiniComponents/Playlist"; -import Folderlists from "../Folderlist"; +import Folderlists from "../MiniComponents/Folderlist"; import UploadFile from "../UploadFile"; - import BasicTable from "../ReactTable4/index"; import SemiDonut from "../SemiDonut"; diff --git a/src/components/Folderlist/index.js b/src/components/MiniComponents/Folderlist/index.js similarity index 97% rename from src/components/Folderlist/index.js rename to src/components/MiniComponents/Folderlist/index.js index eadd882..0fe85bd 100644 --- a/src/components/Folderlist/index.js +++ b/src/components/MiniComponents/Folderlist/index.js @@ -2,8 +2,8 @@ import React from "react"; -import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther"; -import DropDown from "../MiniComponents/DropDown"; +import ProfilePicNextToEachOther from "../../ProfilePicNextToEachOther"; +import DropDown from "../DropDown"; const Folderlists = ({ items }) => { return ( diff --git a/src/components/MiniComponents/Playlist/index.js b/src/components/MiniComponents/Playlist/index.js index 6e9dd1c..cb8c763 100644 --- a/src/components/MiniComponents/Playlist/index.js +++ b/src/components/MiniComponents/Playlist/index.js @@ -1,11 +1,5 @@ import React from "react"; -// ? images -import document from "./images/document.svg"; -import gallery from "./images/gallery.svg"; -import musicSquare from "./images/music-square.svg"; -import videoPlay from "./images/video-play.svg"; - const Playlist = ({ items }) => { return (
@@ -25,15 +19,11 @@ const Playlist = ({ items }) => {

{item.memory} - - گیگابایت - + گیگابایت

{item.fileNum} - - فایل - + فایل

@@ -47,28 +37,28 @@ export default Playlist; Playlist.defaultProps = { items: [ { - icon: document, + icon: "images/Playlistdocument.svg", title: "عکس‌ها", percent: "27 درصد استفاده شده", memory: 44, fileNum: 344, }, { - icon: musicSquare, + icon: "images/Playlistmusic-square.svg", title: "صوتی", percent: "27 درصد استفاده شده", memory: 44, fileNum: 444, }, { - icon: videoPlay, + icon: "images/Playlistvideo-play.svg", title: "ویدئو", percent: "27 درصد استفاده شده", memory: 96, fileNum: 75, }, { - icon: gallery, + icon: "images/Playlistgallery.svg", title: "فایل‌های مختلف", percent: "27 درصد استفاده شده", memory: 92, diff --git a/src/components/ReactTable4/index.js b/src/components/ReactTable4/index.js index 199693a..ef7675f 100644 --- a/src/components/ReactTable4/index.js +++ b/src/components/ReactTable4/index.js @@ -4,9 +4,6 @@ import React, { useRef, useState } from "react"; import BasicTable from "./BasicTable"; import TitleSubtitle from "../MiniComponents/BreadCrumb"; - -import MultiRangeInput from "./MultiRangeInput"; - import BreadCrumb from "../MiniComponents/BreadCrumb"; const ReactTable4 = ({ breadCrumbs }) => { @@ -37,7 +34,7 @@ const ReactTable4 = ({ breadCrumbs }) => {
{/* breadCrumb */}
- + {/* */} {console.log("mahdi")} {console.log(BreadCrumb)}