We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a737b81 commit 5368d18Copy full SHA for 5368d18
packages/ui/src/components/NuTag/Item.vue
@@ -3,7 +3,7 @@ import { useSlots } from 'vue'
3
4
const slots = useSlots()
5
6
-function hasSlot(name: string) {
+function hasSlot(name: 'pre' | 'post') {
7
return !!slots[name]
8
}
9
</script>
0 commit comments