Line data Source code
1 : <template>
2 25 : <Button
3 : variant="muted-textonly"
4 : size="icon-sm"
5 : class="size-8 shrink-0 hover:text-foreground focus-visible:ring-inset"
6 : :aria-label="label"
7 : @click.stop="emit('locate')"
8 : >
9 : <i aria-hidden="true" class="icon-[lucide--locate]" />
10 : </Button>
11 : </template>
12 :
13 : <script setup lang="ts">
14 : import Button from '@comfyorg/design-system/button/Button'
15 :
16 : const { label } = defineProps<{
17 : label: string
18 : }>()
19 :
20 25 : const emit = defineEmits<{
21 : locate: []
22 : }>()
23 : </script>
|