Skip to content

Commit f075481

Browse files
committed
refactor: use lucide insted @ant-design/icons
1 parent c0bdde4 commit f075481

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

webdriver-ts-results/package-lock.json

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webdriver-ts-results/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"private": true,
55
"type": "module",
66
"dependencies": {
7-
"@ant-design/icons": "^5.3.1",
87
"antd": "^5.14.2",
98
"jstat": "^1.9.6",
9+
"lucide-react": "^0.344.0",
1010
"plotly.js-cartesian-dist": "2.18.2",
1111
"react": "^18.2.0",
1212
"react-dom": "^18.2.0",

webdriver-ts-results/src/components/SelectionToolbar/CopyPasteControls/CopyPasteControls.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useCallback, useEffect } from "react";
22
import { useRootStore } from "@/reducer";
33
import "./CopyPasteControls.css";
4-
import { CopyOutlined, SnippetsOutlined } from "@ant-design/icons";
4+
import { CopyIcon, ClipboardPasteIcon } from "lucide-react";
55
import { Button } from "antd";
66

77
const CopyPasteControls = () => {
@@ -75,10 +75,10 @@ const CopyPasteControls = () => {
7575
<div className="copy-paste-panel">
7676
<div>Copy/paste current selection</div>
7777
<div className="copy-paste-panel__buttons">
78-
<Button onClick={copy} icon={<CopyOutlined />} aria-label="Copy selected frameworks and benchmarks" />
78+
<Button onClick={copy} icon={<CopyIcon size={20} />} aria-label="Copy selected frameworks and benchmarks" />
7979
<Button
8080
onClick={handlePasteFromClipboard}
81-
icon={<SnippetsOutlined />}
81+
icon={<ClipboardPasteIcon size={20} />}
8282
aria-label="Paste selected items (or use ctrl/cmd + v for firefox)"
8383
/>
8484
</div>

0 commit comments

Comments
 (0)