✨ feat: iconOnly property supported
This commit is contained in:
parent
0687b0395c
commit
e8921723ba
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user