'use client'; import type { Card } from '@/game/cards'; import type { Action } from '@/game/engine'; import { Button } from './ui/button'; export interface DistransTransferActionProps { card: Pick; recipient: { id: string; name?: string } | undefined; given: Pick | undefined; reason: string | null; reasonId: string; busy: boolean; act: (action: Action) => void; } export function DistransTransferAction({ card, recipient, given, reason, reasonId, busy, act, }: DistransTransferActionProps) { const disabled = busy || !!reason || !recipient || !given; return ( ); }