UNPKG

reka-ui

Version:

Vue port for Radix UI Primitives.

1 lines 889 B
{"version":3,"file":"ComboboxAnchor.cjs","sources":["../../src/Combobox/ComboboxAnchor.vue"],"sourcesContent":["<script lang=\"ts\">\nexport interface ComboboxAnchorProps extends PopperAnchorProps {}\n</script>\n\n<script setup lang=\"ts\">\nimport { Primitive } from '@/Primitive'\nimport { PopperAnchor, type PopperAnchorProps } from '@/Popper'\nimport { useForwardExpose } from '@/shared'\n\ndefineProps<ComboboxAnchorProps>()\n\nconst { forwardRef } = useForwardExpose()\n</script>\n\n<template>\n <PopperAnchor\n as-child\n :reference=\"reference\"\n >\n <Primitive\n :ref=\"forwardRef\"\n :as-child=\"asChild\"\n :as=\"as\"\n v-bind=\"$attrs\"\n >\n <slot />\n </Primitive>\n </PopperAnchor>\n</template>\n"],"names":["useForwardExpose"],"mappings":";;;;;;;;;;;;;;;AAWA,IAAM,MAAA,EAAE,UAAW,EAAA,GAAIA,wCAAiB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;"}