cole / frontend /src /app /components /BigBlueButton.js
COLE CI
deploy to HF Space
424c5d9
Raw
History Blame Contribute Delete
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>
);
}