
Changed the whole tech stack to SvelteKit which means: - Typescript - SSR - No fastify :( - Beta, but it's fine! Other changes: - Tailwind -> Tailwind JIT - A lot more
15 lines
267 B
Svelte
15 lines
267 B
Svelte
<script>
|
|
export let position = "bottom";
|
|
export let label;
|
|
export let size = "fit";
|
|
</script>
|
|
|
|
<span
|
|
aria-label="{label}"
|
|
data-microtip-position="{position}"
|
|
data-microtip-size="{size}"
|
|
role="tooltip"
|
|
>
|
|
<slot></slot>
|
|
</span>
|
|
|