refactor: remove unused icon files (#4297)

* refactor: remove unused icon files

* refactor: attachment icons folder structure
This commit is contained in:
Aaryan Khandelwal 2024-04-29 00:51:31 +05:30 committed by GitHub
parent 0e3d5cc4eb
commit ac4bb1c1b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
123 changed files with 245 additions and 2351 deletions

View file

@ -1,7 +1,7 @@
import React from "react";
// next-themes
import { Tooltip2 } from "@blueprintjs/popover2";
// helpers
import { cn } from "../../helpers";
export type TPosition =
| "top"
@ -49,9 +49,13 @@ export const Tooltip: React.FC<ITooltipProps> = ({
hoverCloseDelay={closeDelay}
content={
<div
className={`relative ${
isMobile ? "hidden" : "block"
} z-50 max-w-xs gap-1 overflow-hidden break-words rounded-md bg-custom-background-100 p-2 text-xs text-custom-text-200 shadow-md ${className}`}
className={cn(
"relative block z-50 max-w-xs gap-1 overflow-hidden break-words rounded-md bg-custom-background-100 p-2 text-xs text-custom-text-200 shadow-md",
{
hidden: isMobile,
},
className
)}
>
{tooltipHeading && <h5 className="font-medium text-custom-text-100">{tooltipHeading}</h5>}
{tooltipContent}