diff --git a/components/StackTheDeck.tsx b/components/StackTheDeck.tsx new file mode 100644 index 0000000..305dc1b --- /dev/null +++ b/components/StackTheDeck.tsx @@ -0,0 +1,48 @@ +import { GalleryHorizontalEnd, RefreshCw } from 'lucide-react'; + +interface StackTheDeckProps { + onRedo: () => void; + onPick: () => void; + onHover: (state: React.ReactNode) => void; + className?: string; +} + +export default function StackTheDeck({ + onRedo, + onPick, + onHover, + className = '', +}: StackTheDeckProps) { + const curryHandleClick = (action: () => void) => (e: React.MouseEvent) => { + e.stopPropagation(); + action(); + }; + + return ( +
+ + + +
+ ); +}