Skip to content

Commit 39c47d3

Browse files
committed
아이콘을 전부 mui로 수정, react-icon 삭제
1 parent b01305f commit 39c47d3

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

packages/view/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"nanoid": "^4.0.0",
107107
"react": "^18.1.0",
108108
"react-dom": "^18.1.0",
109-
"react-icons": "^4.4.0",
110109
"react-spinners": "^0.13.8",
111110
"reflect-metadata": "^0.1.13",
112111
"svg-parser": "^2.0.4",

packages/view/src/components/RefreshButton/RefreshButton.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import "reflect-metadata";
22
import cn from "classnames";
3-
import { FiRefreshCcw } from "react-icons/fi";
3+
import ReplayCircleFilledRoundedIcon from "@mui/icons-material/ReplayCircleFilledRounded";
44

55
import { throttle } from "utils";
66
import { useGlobalData } from "hooks";
7-
87
import "./RefreshButton.scss";
98
import { sendRefreshDataCommand } from "services";
109

@@ -22,9 +21,9 @@ const RefreshButton = () => {
2221
className={cn("refresh-button")}
2322
onClick={refreshHandler}
2423
>
25-
<FiRefreshCcw
24+
<ReplayCircleFilledRoundedIcon
2625
className={cn("refresh-button-icon", { "refresh-button-icon--loading": loading })}
27-
stroke="white"
26+
style={{ color: "white" }}
2827
/>
2928
</button>
3029
);

packages/view/src/components/VerticalClusterList/Summary/Content/Content.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useState } from "react";
2-
import { IoIosArrowDropdownCircle, IoIosArrowDropupCircle } from "react-icons/io";
2+
import ArrowDropDownCircleRoundedIcon from "@mui/icons-material/ArrowDropDownCircleRounded";
33

44
import { useGlobalData } from "hooks";
55

@@ -48,9 +48,9 @@ const Content = ({ content, clusterId, selectedClusterId }: ContentProps) => {
4848
</div>
4949
<div className="collapsible-icon">
5050
{selectedClusterId.includes(clusterId) ? (
51-
<IoIosArrowDropupCircle className="show" />
51+
<ArrowDropDownCircleRoundedIcon className="show" />
5252
) : (
53-
<IoIosArrowDropdownCircle />
53+
<ArrowDropDownCircleRoundedIcon />
5454
)}
5555
</div>
5656
</>

packages/view/src/components/VerticalClusterList/Summary/Summary.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
& .show {
4949
visibility: visible;
50+
transform: rotate(180deg);
5051
}
5152
}
5253

0 commit comments

Comments
 (0)