|
|
@ -17,7 +17,7 @@ export default function Button({ |
|
|
|
}) { |
|
|
|
}) { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<button |
|
|
|
<button |
|
|
|
className={`rounded-md py-3 justify-center text-sm cursor-pointer lg:py-5 ${ |
|
|
|
className={`${radius == false ? '' : 'rounded-md'} ${twPaddings? twPaddings : 'py-3'} ${customStyle} justify-center text-sm cursor-pointer lg:py-5 ${ |
|
|
|
selectable ? (active ? "bg-black" : backgroundColor) : backgroundColor |
|
|
|
selectable ? (active ? "bg-black" : backgroundColor) : backgroundColor |
|
|
|
} ${selectable ? (active ? "text-blueC0" : color) : color} ${ |
|
|
|
} ${selectable ? (active ? "text-blueC0" : color) : color} ${ |
|
|
|
selectable ? (active ? "bg-opacity-10" : bgOpacity) : bgOpacity |
|
|
|
selectable ? (active ? "bg-opacity-10" : bgOpacity) : bgOpacity |
|
|
|