import type { ComponentPropsWithRef, ReactNode } from "react"; import { cn } from "../../lib/utils"; import { Button } from "../../ui/button"; type MessageToolbarButtonProps = & Omit, "children" | "size" | "variant"> & { active?: boolean; destructive?: boolean; icon: ReactNode; }; function MessageToolbarButton( { active, className, destructive, icon, title, type = "button", ...props }: MessageToolbarButtonProps, ) { let label = typeof props["aria-label"] === "string" ? props["aria-label"] : undefined; return ( ); } export { MessageToolbarButton }; export type { MessageToolbarButtonProps };