import type { JSXElementConstructor } from "react"; import React from "react"; import type { IconProps } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants"; import { Icon } from "@blueprintjs/core"; import { importRemixIcon, importSvg } from "design-system-old"; const UpdatesIcon = importSvg(() => import("assets/icons/help/updates.svg")); const GithubIcon = importRemixIcon( () => import("remixicon-react/GithubFillIcon"), ); const DocumentIcon = importRemixIcon( () => import("remixicon-react/FileTextFillIcon"), ); const HelpIcon = importRemixIcon( () => import("remixicon-react/QuestionMarkIcon"), ); const DiscordIcon = importRemixIcon( () => import("remixicon-react/DiscordFillIcon"), ); const OpenLinkIcon = importRemixIcon( () => import("remixicon-react/ShareBoxLineIcon"), ); const FileCopyLineIcon = importRemixIcon( () => import("remixicon-react/FileCopyLineIcon"), ); /* eslint-disable react/display-name */ export const HelpIcons: { [id: string]: JSXElementConstructor; } = { OPEN_LINK: (props: IconProps) => ( ), DOCUMENT: (props: IconProps) => ( ), HELP_ICON: (props: IconProps) => ( ), CLOSE_ICON: (props: IconProps) => ( ), GITHUB: (props: IconProps) => ( ), CHAT: (props: IconProps) => ( ), DISCORD: (props: IconProps) => ( ), UPDATES: (props: IconProps) => ( ), COPY_ICON: (props: IconProps) => ( ), }; export type HelpIconName = keyof typeof HelpIcons;