Use AbsTooltip
This commit is contained in:
parent
a289ef31d1
commit
8b22beb0a2
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
let dispatch = createEventDispatcher()
|
let dispatch = createEventDispatcher()
|
||||||
|
|
||||||
import { ActionButton } from "@budibase/bbui"
|
import { ActionButton, AbsTooltip, TooltipType } from "@budibase/bbui"
|
||||||
|
|
||||||
export let value
|
export let value
|
||||||
export let options
|
export let options
|
||||||
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
<div class="permissionPicker">
|
<div class="permissionPicker">
|
||||||
{#each options as option}
|
{#each options as option}
|
||||||
|
<AbsTooltip text={option.tooltip} type={TooltipType.Info}>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
on:click={() => dispatch("click", option.value)}
|
on:click={() => dispatch("click", option.value)}
|
||||||
{disabled}
|
{disabled}
|
||||||
|
@ -20,8 +21,8 @@
|
||||||
quiet
|
quiet
|
||||||
selected={option.value === value}
|
selected={option.value === value}
|
||||||
noPadding
|
noPadding
|
||||||
tooltip={option.tooltip}
|
|
||||||
/>
|
/>
|
||||||
|
</AbsTooltip>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue