Spaces:
Build error
Build error
Download src/components/PlinkoGame.tsx from danoverd21/Next-Test-App: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/danoverd21/Next-Test-App/resolve/main/src/components/PlinkoGame.tsx
- Command line
-
hf download hf://spaces/danoverd21/Next-Test-App/src/components/PlinkoGame.tsx
-
curl -L -o PlinkoGame.tsx https://huggingface.co/spaces/danoverd21/Next-Test-App/resolve/main/src/components/PlinkoGame.tsx
353 Bytes
| function PlinkoGame({ balance, onGameEnd }) { | |
| // Existing code... | |
| return ( | |
| <div> | |
| <button | |
| onClick={dropPlinko} | |
| className="my-2 px-4 py-2 bg-[#facc15] rounded" | |
| > | |
| Drop | |
| </button> | |
| <BalanceDisplay balance={balance} /> | |
| <p>Last Drop Result: {dropResult}</p> | |
| </div> | |
| ) | |
| } | |
| export default PlinkoGame |