"use client"; import { Button } from "@heroui/button"; import type { PressEvent } from "@react-types/shared"; import { cn } from "@/lib/utils"; interface ActionsProps extends React.HTMLAttributes { className?: string; children?: React.ReactNode; ref?: React.Ref; } const Actions = ({ className, children, ref, ...props }: ActionsProps) => { return (
{children}
); }; interface ActionProps { /** * Action label text */ label: string; /** * Optional icon component (Lucide React icon recommended) */ icon?: React.ReactNode; /** * Click handler */ onClick?: (e: PressEvent) => void; /** * Visual variant * @default "light" */ variant?: "solid" | "bordered" | "light" | "flat" | "faded" | "shadow"; className?: string; isDisabled?: boolean; ref?: React.Ref; } const Action = ({ label, icon, onClick, variant = "light", className, isDisabled = false, ref, ...props }: ActionProps) => { return ( ); }; export { Action, Actions };