Spaces:
Running
Running
Download frontend/src/app/components/BigBlueButton.js from davebulaval/cole: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/davebulaval/cole/resolve/main/frontend/src/app/components/BigBlueButton.js
- Command line
-
hf download hf://spaces/davebulaval/cole/frontend/src/app/components/BigBlueButton.js
-
curl -L -o BigBlueButton.js https://huggingface.co/spaces/davebulaval/cole/resolve/main/frontend/src/app/components/BigBlueButton.js
445 Bytes
| export default function BigBlueButton({ children, onClick, disabled }) { | |
| return ( | |
| <button | |
| onClick={onClick} | |
| disabled={disabled} | |
| className={`px-4 py-2 text-white text-base font-medium rounded-md shadow-sm focus:outline-none focus:ring-2 ${ | |
| disabled | |
| ? "bg-gray-400 cursor-not-allowed" | |
| : "bg-blue-500 hover:bg-blue-600 focus:ring-blue-300" | |
| }`} | |
| > | |
| {children} | |
| </button> | |
| ); | |
| } | |