mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 13:39:40 +08:00
16 lines
346 B
Vue
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>;
|
|
},
|
|
};
|