We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 650516c commit cd1c2c6Copy full SHA for cd1c2c6
1 file changed
adminforth/spa/src/afcl/Button.vue
@@ -30,10 +30,9 @@ const props = withDefaults(defineProps<{
30
loader: false,
31
disabled: false,
32
active: false,
33
- variant: 'primary'
34
});
35
36
-// mode is deprecated, but we still want to support it for backward compatibility,
+// mode is deprecated, but we still want to support it for backward compatibility,
37
// so we check both variant and mode props
38
const currentVariant = computed(() => props.variant ?? props.mode ?? 'primary');
39
</script>
0 commit comments