cole / frontend /src /app /components /BigBlueButton.js
davebulaval's picture
v1
8fa3acc
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>
);
}