summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/PillButton.tsx
diff options
context:
space:
mode:
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}