Spaces:
Running
Running
File size: 445 Bytes
8fa3acc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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>
);
}
|