mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
a5a3411c28
* refactor(drawer): use compositionAPI * refactor(drawer): update * refactor: update * chore: update * docs: update * fix: remove transitionStr * chore: use useConfigInject * refactor: drawer #4708 Co-authored-by: ajuner <106791576@qq.com>
13 lines
237 B
Vue
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?.();
|
|
};
|
|
},
|
|
});
|