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

15 lines
324 B
Vue
Raw Normal View History

2019-01-12 03:33:27 +00:00
import PropTypes from '../_util/vue-types';
2018-03-05 11:05:23 +00:00
const ILazyRenderBoxPropTypes = {
visible: PropTypes.bool,
hiddenClassName: PropTypes.string,
2019-12-09 14:23:40 +00:00
forceRender: PropTypes.bool,
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() {
2019-08-29 14:50:53 +00:00
return <div {...{ on: this.$listeners }}>{this.$slots.default}</div>;
2018-03-05 11:05:23 +00:00
},
2019-01-12 03:33:27 +00:00
};