refactor: remove unused icon files (#4297)
* refactor: remove unused icon files * refactor: attachment icons folder structure
This commit is contained in:
parent
0e3d5cc4eb
commit
ac4bb1c1b4
123 changed files with 245 additions and 2351 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue