This commit is contained in:
Jesse Winton
2025-04-15 13:17:02 -04:00
parent 76ee75db56
commit 4e8273ba68
3 changed files with 30 additions and 31 deletions

View File

@@ -0,0 +1,12 @@
<script lang="ts">
type Props = {
coords: {
x: number;
y: number;
};
};
const { coords } = $props();
</script>
<div style:left="{coords.x}px" style:top="{coords.y}px">Tooltip</div>