import React, { JSXElementConstructor } from "react"; import { IconProps, IconWrapper } from "constants/IconConstants"; import { ReactComponent as OpenLinkIcon } from "assets/icons/help/openlink.svg"; import { ReactComponent as DocumentIcon } from "assets/icons/help/document.svg"; import { ReactComponent as HelpIcon } from "assets/icons/help/help.svg"; import { ReactComponent as GithubIcon } from "assets/icons/help/github-icon.svg"; import { ReactComponent as DiscordIcon } from "assets/icons/help/discord.svg"; import { ReactComponent as UpdatesIcon } from "assets/icons/help/updates.svg"; import { Icon } from "@blueprintjs/core"; /* 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) => ( ), }; export type HelpIconName = keyof typeof HelpIcons;