feat: iconOnly property supported

This commit is contained in:
Paul Valerie GOMA 2025-07-19 03:51:03 +02:00
parent 0687b0395c
commit e8921723ba

View File

@ -11,6 +11,7 @@ const props = withDefaults(defineProps<IVButton>(), {
secondary: false,
tertiary: false,
iconRight: false,
iconOnly: false,
noOutline: false,
danger: false,
size: 'md',
@ -58,7 +59,7 @@ const font = computed(() => {
<template>
<Button
:label="props.label"
:label="props.iconOnly ? undefined : props.label"
:variant="variant"
:severity="severity"
:icon="props.icon"