import { Button, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from '@pac/web';

export const RowActions = () => (
  <div className="flex h-[260px] items-start justify-center p-2">
    <DropdownMenu defaultOpen modal={false}>
      <DropdownMenuTrigger asChild><Button variant="outline" size="sm">操作</Button></DropdownMenuTrigger>
      <DropdownMenuContent align="start">
        <DropdownMenuLabel>患者操作</DropdownMenuLabel>
        <DropdownMenuSeparator />
        <DropdownMenuItem>认领</DropdownMenuItem>
        <DropdownMenuItem>查看档案</DropdownMenuItem>
        <DropdownMenuItem>新建预约</DropdownMenuItem>
        <DropdownMenuSeparator />
        <DropdownMenuItem className="text-rose-600">放弃跟进</DropdownMenuItem>
      </DropdownMenuContent>
    </DropdownMenu>
  </div>
);
