import { MoreHorizontalIcon } from "lucide-react";
import type { ComponentProps, ReactNode } from "react";
import { Button } from "./button";
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from "./dropdown-menu";
import { cn } from "../lib/cn";
/* ----------------------------------------------------------------------------
The two action shapes of settings and detail pages: the ⋯ menu and the
outlined row button. 44px on coarse pointers.
-------------------------------------------------------------------------- */
/** The ⋯ button and its menu. `quiet` sits in a group header; the default in a page header. */
export function MoreMenu({
label,
quiet = false,
disabled,
children,
}: {
label: string;
quiet?: boolean | undefined;
disabled?: boolean | undefined;
children: ReactNode;
}) {
return (
{children}
);
}
/** An outlined small button, 44px on coarse pointers, the shape every row action uses. */
export function RowButton({ children, className, ...props }: ComponentProps) {
return (
);
}