reenbale the download action (#4299)
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import { ActionType, ReadableActionTypes } from "@/api/types";
|
||||
import { CursorArrowIcon, HandIcon, InputIcon } from "@radix-ui/react-icons";
|
||||
import {
|
||||
CursorArrowIcon,
|
||||
HandIcon,
|
||||
DownloadIcon,
|
||||
InputIcon,
|
||||
} from "@radix-ui/react-icons";
|
||||
|
||||
type Props = {
|
||||
actionType: ActionType;
|
||||
@@ -9,6 +14,7 @@ const icons: Partial<Record<ActionType, React.ReactNode>> = {
|
||||
click: <CursorArrowIcon className="h-4 w-4" />,
|
||||
hover: <HandIcon className="h-4 w-4" />,
|
||||
input_text: <InputIcon className="h-4 w-4" />,
|
||||
download_file: <DownloadIcon className="h-4 w-4" />,
|
||||
};
|
||||
|
||||
function ActionTypePill({ actionType }: Props) {
|
||||
|
||||
@@ -3,6 +3,7 @@ import {
|
||||
CheckCircledIcon,
|
||||
CursorArrowIcon,
|
||||
HandIcon,
|
||||
DownloadIcon,
|
||||
InputIcon,
|
||||
QuestionMarkIcon,
|
||||
} from "@radix-ui/react-icons";
|
||||
@@ -17,6 +18,7 @@ const icons: Partial<Record<ActionType, React.ReactNode>> = {
|
||||
hover: <HandIcon className="h-4 w-4" />,
|
||||
complete: <CheckCircledIcon className="h-4 w-4" />,
|
||||
input_text: <InputIcon className="h-4 w-4" />,
|
||||
download_file: <DownloadIcon className="h-4 w-4" />,
|
||||
};
|
||||
|
||||
function ActionTypePillMinimal({ actionType }: Props) {
|
||||
|
||||
Reference in New Issue
Block a user