/* * Vencord, a modification for Discord's desktop app * Copyright (c) 2023 Vendicated and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import "./iconStyles.css"; import { getIntlMessage } from "@utils/discord"; import { classes } from "@utils/misc"; import type { JSX, PropsWithChildren } from "react"; interface BaseIconProps extends IconProps { viewBox: string; } type IconProps = JSX.IntrinsicElements["svg"]; function Icon({ height = 24, width = 24, className, children, viewBox, ...svgProps }: PropsWithChildren) { return ( {children} ); } /** * Discord's link icon, as seen in the Message context menu "Copy Message Link" option */ export function LinkIcon({ height = 24, width = 24, className }: IconProps) { return ( ); } /** * Discord's copy icon, as seen in the user panel popout on the right of the username and in large code blocks */ export function CopyIcon(props: IconProps) { return ( ); } /** * Discord's open external icon, as seen in the user profile connections */ export function OpenExternalIcon(props: IconProps) { return ( ); } export function ImageIcon(props: IconProps) { return ( ); } export function InfoIcon(props: IconProps) { return ( ); } export function WarningIcon({ height = 32, width = 32, className }: IconProps) { return ( ); } export function OwnerCrownIcon(props: IconProps) { return ( ); } /** * Discord's screenshare icon, as seen in the connection panel */ export function ScreenshareIcon(props: IconProps) { return ( ); } export function ImageVisible(props: IconProps) { return ( ); } export function ImageInvisible(props: IconProps) { return ( ); } export function Microphone(props: IconProps) { return ( ); } export function CogWheel(props: IconProps) { return ( ); } export function ReplyIcon(props: IconProps) { return ( ); } export function DeleteIcon(props: IconProps) { return ( ); } /** * A plugin icon, created by CorellanStoma. https://github.com/CreArts-Community/Settings-Icons */ export function PluginIcon(props: IconProps) { return ( ); } export function PlusIcon(props: IconProps) { return ( ); } export function NoEntrySignIcon(props: IconProps) { return ( ); } export function PasteIcon(props: IconProps) { return ( ); } export function ResetIcon(props: IconProps) { return ( ); } export function SafetyIcon(props: IconProps) { return ( ); } export function NotesIcon(props: IconProps) { return ( ); } export function IDIcon(props: IconProps) { return ( ); } export function FolderIcon(props: IconProps) { return ( ); } export function LogIcon(props: IconProps) { return ( ); } export function RestartIcon(props: IconProps) { return ( ); } export function PaintbrushIcon(props: IconProps) { return ( ); } export function PencilIcon(props: IconProps) { return ( ); } export function GithubIcon(props: IconProps) { return ( ); } export function WebsiteIcon(props: IconProps) { return ( ); } /** * A question mark inside a square, used as a placeholder icon when no other icon is available */ export function PlaceholderIcon(props: IconProps) { return ( ); } export function MainSettingsIcon(props: IconProps) { return ( ); } export function PluginsIcon(props: IconProps) { return ( ); } export function CloudIcon(props: IconProps) { return ( ); } export function BackupRestoreIcon(props: IconProps) { return ( ); } export function UpdaterIcon(props: IconProps) { return ( ); } export function PatchHelperIcon(props: IconProps) { return ( ); } export function VesktopSettingsIcon(props: IconProps) { return ( ); } export function EyeIcon(props: IconProps) { return ( ); } export function ColorPaletteIcon(props: IconProps) { return ( ); } export function MagnifyingGlassIcon(props: IconProps) { return ( ); } export function CloudDownloadIcon(props: IconProps) { return ( ); } export function CloudUploadIcon(props: IconProps) { return ( ); } export function ClockIcon(props: IconProps) { return ( ); } export function DownArrow(props: IconProps) { return ( ); } export function RightArrow(props: IconProps) { return ( ); } export const QrCodeIcon = (props?: any) => { return ( ); }; export const ComponentsIcon = (props?: any) => { return ( ); };