summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/PillButton.tsx
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-08-03 01:16:34 -0700
committerGitHub <noreply@github.com>2023-08-03 01:16:34 -0700
commit9c3f3e1aadddc0f77736a0078a204f7ab082be8d (patch)
tree19941667006e92ee3204c9d76f13521bd27621f2 /extension/react-app/src/components/PillButton.tsx
parent9c07a0ee6cc4eb12518ecab894b197562837e737 (diff)
parent01ea5e221db410c1ac1e138caa80a6385458fe9b (diff)
downloadsncontinue-9c3f3e1aadddc0f77736a0078a204f7ab082be8d.tar.gz
sncontinue-9c3f3e1aadddc0f77736a0078a204f7ab082be8d.tar.bz2
sncontinue-9c3f3e1aadddc0f77736a0078a204f7ab082be8d.zip
Merge pull request #337 from continuedev/package-python
Package python
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 0b1aa23d..8e5f896e 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 {
@@ -173,10 +173,7 @@ const PillButton = (props: PillButtonProps) => {
]);
}}
>
- <PaintBrush
- style={{ margin: "auto" }}
- width="1.6em"
- ></PaintBrush>
+ <PaintBrushIcon style={{ margin: "auto" }} width="1.6em" />
</ButtonDiv>
)}
@@ -191,7 +188,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>
)}
@@ -208,7 +205,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}