From 5c18b8afbf5334f7500177aceab2ccfcb096f7a7 Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Thu, 12 Jun 2025 11:10:59 -0400 Subject: [PATCH] wasn't tracking the most important part --- components/StackTheDeck.tsx | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 components/StackTheDeck.tsx 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 ( +
+ + + +
+ ); +}