ant-design-vue/components/vc-dialog/LazyRenderBox.jsx

16 lines
379 B
Vue

import PropTypes from '../_util/vue-types';
import { getListeners } from '../_util/props-util';
const ILazyRenderBoxPropTypes = {
visible: PropTypes.bool,
hiddenClassName: PropTypes.string,
forceRender: PropTypes.bool,
};
export default {
props: ILazyRenderBoxPropTypes,
render() {
return <div {...{ on: getListeners(this) }}>{this.$slots.default}</div>;
},
};