2019-01-12 03:33:27 +00:00
|
|
|
import PropTypes from '../_util/vue-types';
|
2020-06-15 10:55:12 +00:00
|
|
|
import { getSlot } from '../_util/props-util';
|
2018-03-05 11:05:23 +00:00
|
|
|
|
|
|
|
const ILazyRenderBoxPropTypes = {
|
2020-10-10 10:16:28 +00:00
|
|
|
visible: PropTypes.looseBool,
|
2018-03-05 11:05:23 +00:00
|
|
|
hiddenClassName: PropTypes.string,
|
2020-10-10 10:16:28 +00:00
|
|
|
forceRender: PropTypes.looseBool,
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-03-05 11:05:23 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
props: ILazyRenderBoxPropTypes,
|
2019-01-12 03:33:27 +00:00
|
|
|
render() {
|
2020-06-15 10:55:12 +00:00
|
|
|
return <div>{getSlot(this)}</div>;
|
2018-03-05 11:05:23 +00:00
|
|
|
},
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|