import Button from "@moduletrace/twui/layout/Button"; import type { LucideIcon } from "lucide-react"; type Props = { icon: LucideIcon; /** * Says what the button does; it has no visible label. */ title: string; disabled?: boolean; loading?: boolean; /** * For a button that acts on its own; a modal's target leaves it out. */ onClick?: () => void; /** * For a button that opens a page. */ href?: string; }; /** * A ghost icon button on the right of the conversation header, usually a * modal's target. */ export default function HeaderIconButton({ icon: Icon, title, disabled, loading, onClick, href, }: Props) { return ( ); }