ant-design-vue/components/_util/__mocks__/Portal.tsx

13 lines
237 B
Vue

import { defineComponent } from 'vue';
export default defineComponent({
name: 'Portal',
inheritAttrs: false,
props: ['getContainer'],
setup(_props, { slots }) {
return () => {
return slots.default?.();
};
},
});