Skip to content

Commit

Permalink
fix: make NeTooltip more accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed May 8, 2024
1 parent b362433 commit 5093de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NeTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ defineProps({

<template>
<Tippy :interactive="interactive" :placement="placement" :trigger="triggerEvent" theme="tailwind">
<span class="inline-flex cursor-pointer">
<button type="button" class="inline-flex">
<slot name="trigger">
<FontAwesomeIcon
:icon="faCircleInfo"
class="h-4 w-4 text-indigo-500 dark:text-indigo-300"
/>
</slot>
</span>
</button>
<template #content>
<slot name="content" />
</template>
Expand Down

0 comments on commit 5093de4

Please sign in to comment.