We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ca96ec + de3b374 commit 038b98dCopy full SHA for 038b98d
src/components/DsfrTag/DsfrTag.vue
@@ -35,7 +35,7 @@ const iconProps = computed(() => dsfrIcon.value ? undefined : typeof props.icon
35
:disabled="disabled"
36
:class="{
37
'fr-tag--sm': small,
38
- [icon]: dsfrIcon,
+ [icon as string]: dsfrIcon,
39
}"
40
v-bind="linkProps"
41
>
0 commit comments