@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
15 lines (12 loc) • 517 B
JavaScript
import { defineComponent, renderSlot, normalizeProps, guardReactiveProps, unref } from 'vue';
import { useFloatingPanelContext } from './use-floating-panel-context.js';
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "floating-panel-context",
setup(__props) {
const floatingPanel = useFloatingPanelContext();
return (_ctx, _cache) => {
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(floatingPanel))));
};
}
});
export { _sfc_main as default };