Use AbsTooltip

This commit is contained in:
Adria Navarro 2024-05-30 10:07:17 +02:00
parent a289ef31d1
commit 8b22beb0a2
1 changed files with 12 additions and 11 deletions

View File

@ -3,7 +3,7 @@
let dispatch = createEventDispatcher()
import { ActionButton } from "@budibase/bbui"
import { ActionButton, AbsTooltip, TooltipType } from "@budibase/bbui"
export let value
export let options
@ -12,6 +12,7 @@
<div class="permissionPicker">
{#each options as option}
<AbsTooltip text={option.tooltip} type={TooltipType.Info}>
<ActionButton
on:click={() => dispatch("click", option.value)}
{disabled}
@ -20,8 +21,8 @@
quiet
selected={option.value === value}
noPadding
tooltip={option.tooltip}
/>
</AbsTooltip>
{/each}
</div>