feat: add warning icon to images when some models are not vision capable

This commit is contained in:
Jun Siang Cheah
2024-05-19 18:57:13 +08:00
parent 4002ead6af
commit fa4c22492f
35 changed files with 61 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
export let placement = 'top';
export let content = `I'm a tooltip!`;
export let touch = true;
export let className = 'flex';
let tooltipElement;
let tooltipInstance;
@@ -29,6 +30,6 @@
});
</script>
<div bind:this={tooltipElement} aria-label={content} class="flex">
<div bind:this={tooltipElement} aria-label={content} class={className}>
<slot />
</div>