change hover action icon (#4247)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { ActionType, ReadableActionTypes } from "@/api/types";
|
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 = {
|
type Props = {
|
||||||
actionType: ActionType;
|
actionType: ActionType;
|
||||||
@@ -7,7 +7,7 @@ type Props = {
|
|||||||
|
|
||||||
const icons: Partial<Record<ActionType, React.ReactNode>> = {
|
const icons: Partial<Record<ActionType, React.ReactNode>> = {
|
||||||
click: <CursorArrowIcon className="h-4 w-4" />,
|
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" />,
|
input_text: <InputIcon className="h-4 w-4" />,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { ActionType, ReadableActionTypes } from "@/api/types";
|
|||||||
import {
|
import {
|
||||||
CheckCircledIcon,
|
CheckCircledIcon,
|
||||||
CursorArrowIcon,
|
CursorArrowIcon,
|
||||||
|
HandIcon,
|
||||||
InputIcon,
|
InputIcon,
|
||||||
QuestionMarkIcon,
|
QuestionMarkIcon,
|
||||||
} from "@radix-ui/react-icons";
|
} from "@radix-ui/react-icons";
|
||||||
@@ -13,7 +14,7 @@ type Props = {
|
|||||||
|
|
||||||
const icons: Partial<Record<ActionType, React.ReactNode>> = {
|
const icons: Partial<Record<ActionType, React.ReactNode>> = {
|
||||||
click: <CursorArrowIcon className="h-4 w-4" />,
|
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" />,
|
complete: <CheckCircledIcon className="h-4 w-4" />,
|
||||||
input_text: <InputIcon className="h-4 w-4" />,
|
input_text: <InputIcon className="h-4 w-4" />,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user