feat: enhance file upload tooltip with detailed information on limits and guidelines

This commit is contained in:
Anish Sarkar 2026-02-22 04:20:46 +05:30
parent fe2b739fc4
commit 0e1f0d09e5
2 changed files with 12 additions and 3 deletions

View file

@ -1,13 +1,13 @@
"use client";
import { Slottable } from "@radix-ui/react-slot";
import { type ComponentPropsWithRef, forwardRef } from "react";
import { type ComponentPropsWithRef, type ReactNode, forwardRef } from "react";
import { Button } from "@/components/ui/button";
import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
export type TooltipIconButtonProps = ComponentPropsWithRef<typeof Button> & {
tooltip: string;
tooltip: ReactNode;
side?: "top" | "bottom" | "left" | "right";
};