GF-4 (#4) Start work on main layout
This commit is contained in:
parent
2ed0a69e70
commit
57593b4370
49 changed files with 1233 additions and 3 deletions
15
app/components/ui/tooltip/Tooltip.vue
Normal file
15
app/components/ui/tooltip/Tooltip.vue
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<script setup lang="ts">
|
||||
import type { TooltipRootEmits, TooltipRootProps } from "reka-ui";
|
||||
import { TooltipRoot, useForwardPropsEmits } from "reka-ui";
|
||||
|
||||
const props = defineProps<TooltipRootProps>();
|
||||
const emits = defineEmits<TooltipRootEmits>();
|
||||
|
||||
const forwarded = useForwardPropsEmits(props, emits);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TooltipRoot v-slot="slotProps" data-slot="tooltip" v-bind="forwarded">
|
||||
<slot v-bind="slotProps" />
|
||||
</TooltipRoot>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue