We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7848d1 commit 5d5437bCopy full SHA for 5d5437b
refactor/src/components/UI/Button.component.tsx
@@ -28,12 +28,11 @@ const Button = ({
28
onClick={handleButtonClick}
29
disabled={buttonDisabled}
30
className={`px-2 lg:px-4 py-2 font-bold bg-blue-500 border border-gray-400 border-solid rounded text-white ease-in-out transition-all duration-300 disabled:opacity-50
31
-
32
- ${
33
- color === 'blue'
34
- ? 'bg-blue-500 hover:bg-blue-600'
35
- : 'bg-red-500 hover:bg-red-600'
36
- }
+ ${
+ color === 'blue'
+ ? 'bg-blue-500 hover:bg-blue-600'
+ : 'bg-red-500 hover:bg-red-600'
+ }
37
`}
38
>
39
{children}
0 commit comments