ant-design-vue/components/vc-dialog/LazyRenderBox.jsx
2020-01-19 16:58:38 +08:00

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>;
},
};