File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
class =" afcl-button flex items-center justify-center gap-1 text-lightPrimaryContrast bg-lightPrimary dark:bg-darkPrimary hover:brightness-110
6
6
focus:ring-4 focus:outline-none focus:ring-lightPrimary focus:ring-opacity-50 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-darkPrimary dark:focus:ring-opacity-50"
7
7
:class =" {
8
- 'cursor-default': props.disabled,
9
- 'opacity-50': props.disabled,
10
- 'pointer-events-none': props.disabled,
8
+ 'cursor-default opacity-50 pointer-events-none': props.disabled,
9
+ 'active brightness-200 hover:brightness-150' : props.active
11
10
}"
12
11
>
13
12
<svg v-if =" props.loader"
22
21
const props = defineProps ({
23
22
loader: Boolean ,
24
23
disabled: Boolean ,
24
+ active: Boolean ,
25
25
});
26
26
27
27
</script >
You can’t perform that action at this time.
0 commit comments