change hover action icon (#4247)

This commit is contained in:
LawyZheng
2025-12-10 03:10:57 +08:00
committed by GitHub
parent 2de27637db
commit 71e4614cfe
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import { ActionType, ReadableActionTypes } from "@/api/types";
import { CursorArrowIcon, InputIcon } from "@radix-ui/react-icons";
import { CursorArrowIcon, HandIcon, InputIcon } from "@radix-ui/react-icons";
type Props = {
actionType: ActionType;
@@ -7,7 +7,7 @@ type Props = {
const icons: Partial<Record<ActionType, React.ReactNode>> = {
click: <CursorArrowIcon className="h-4 w-4" />,
hover: <CursorArrowIcon className="h-4 w-4" />,
hover: <HandIcon className="h-4 w-4" />,
input_text: <InputIcon className="h-4 w-4" />,
};

View File

@@ -2,6 +2,7 @@ import { ActionType, ReadableActionTypes } from "@/api/types";
import {
CheckCircledIcon,
CursorArrowIcon,
HandIcon,
InputIcon,
QuestionMarkIcon,
} from "@radix-ui/react-icons";
@@ -13,7 +14,7 @@ type Props = {
const icons: Partial<Record<ActionType, React.ReactNode>> = {
click: <CursorArrowIcon className="h-4 w-4" />,
hover: <CursorArrowIcon className="h-4 w-4" />,
hover: <HandIcon className="h-4 w-4" />,
complete: <CheckCircledIcon className="h-4 w-4" />,
input_text: <InputIcon className="h-4 w-4" />,
};