test(Button): add

This commit is contained in:
Benjamin Canac
2024-03-06 12:40:41 +01:00
parent b67fddeef8
commit 38a36f4e48
3 changed files with 166 additions and 8 deletions

View File

@@ -39,6 +39,14 @@ const props = defineProps({
type: String as PropType<ButtonProps['label']>,
default: undefined
},
color: {
type: String as PropType<ButtonProps['color']>,
default: undefined
},
size: {
type: String as PropType<ButtonProps['size']>,
default: undefined
},
icon: {
type: String as PropType<ButtonProps['icon']>,
default: undefined
@@ -87,14 +95,6 @@ const props = defineProps({
type: Boolean as PropType<ButtonProps['truncate']>,
default: false
},
color: {
type: String as PropType<ButtonProps['color']>,
default: undefined
},
size: {
type: String as PropType<ButtonProps['size']>,
default: undefined
},
class: {
type: String as PropType<ButtonProps['class']>,
default: undefined