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