import { Menu } from "@base-ui/react/menu"; import { EllipsisIcon } from "lucide-react"; import type { ReactNode } from "react"; import { entityListLabels, entityListPages } from "../lib/entity-list"; import { Button } from "./button"; import { SelectWithAction } from "./select-with-action"; const ENTITY_PAGE_SIZES = [10, 25, 50, 100]; export function EntityRowActions({ children, label }: { children: ReactNode; label: string }) { return ( } title={label} > {children} ); } export function EntityAction({ children, onClick, disabled = false, className, }: { children: ReactNode; onClick: () => void; disabled?: boolean; className?: string; }) { return ( {children} ); } export function EntityStatus({ children, active = true, }: { children: ReactNode; active?: boolean; }) { return ( ); } export function EntityListPagination({ locale, page, pages, pageSize, onPage, onPageSize, id, }: { locale: string; page: number; pages: number; pageSize: number; onPage: (page: number) => void; onPageSize: (size: number) => void; id: string; }) { const labels = entityListLabels(locale); return ( ); }