ant-design-vue/components/vc-dialog/LazyRenderBox.jsx
2020-10-10 18:16:28 +08:00

16 lines
346 B
Vue

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