summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/PillButton.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-01 18:15:26 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-01 18:15:26 -0700
commit6a3967838e1d1541404a17f9d684d7efceb28031 (patch)
tree910578c7b3ddd3fb4347bda46412e7b0dbcddda3 /extension/react-app/src/components/PillButton.tsx
parent9d1be8859cba212d205b6290e00727b85c53fe09 (diff)
downloadsncontinue-6a3967838e1d1541404a17f9d684d7efceb28031.tar.gz
sncontinue-6a3967838e1d1541404a17f9d684d7efceb28031.tar.bz2
sncontinue-6a3967838e1d1541404a17f9d684d7efceb28031.zip
use hero-icons, instead of styled-icons/heroicons
Diffstat (limited to 'extension/react-app/src/components/PillButton.tsx')
-rw-r--r--extension/react-app/src/components/PillButton.tsx17
1 files changed, 7 insertions, 10 deletions
diff --git a/extension/react-app/src/components/PillButton.tsx b/extension/react-app/src/components/PillButton.tsx
index e3d05711..ae744c44 100644
--- a/extension/react-app/src/components/PillButton.tsx
+++ b/extension/react-app/src/components/PillButton.tsx
@@ -9,10 +9,10 @@ import {
vscForeground,
} from ".";
import {
- Trash,
- PaintBrush,
- ExclamationTriangle,
-} from "@styled-icons/heroicons-outline";
+ TrashIcon,
+ PaintBrushIcon,
+ ExclamationTriangleIcon,
+} from "@heroicons/react/24/outline";
import { GUIClientContext } from "../App";
import { useDispatch } from "react-redux";
import {
@@ -171,10 +171,7 @@ const PillButton = (props: PillButtonProps) => {
client?.setEditingAtIndices([props.index]);
}}
>
- <PaintBrush
- style={{ margin: "auto" }}
- width="1.6em"
- ></PaintBrush>
+ <PaintBrushIcon style={{ margin: "auto" }} width="1.6em" />
</ButtonDiv>
)}
@@ -189,7 +186,7 @@ const PillButton = (props: PillButtonProps) => {
dispatch(setBottomMessage(undefined));
}}
>
- <Trash style={{ margin: "auto" }} width="1.6em"></Trash>
+ <TrashIcon style={{ margin: "auto" }} width="1.6em" />
</ButtonDiv>
</GridDiv>
)}
@@ -206,7 +203,7 @@ const PillButton = (props: PillButtonProps) => {
<CircleDiv
data-tooltip-id={`circle-div-${props.item.description.name}`}
>
- <ExclamationTriangle
+ <ExclamationTriangleIcon
style={{ margin: "auto" }}
width="1.0em"
strokeWidth={2}