import PropTypes from '../_util/vue-types' import classNames from 'classnames' import Lazyload from '../vc-lazy-load' import Checkbox from '../checkbox' function noop () { } export default { props: { renderedText: PropTypes.any, renderedEl: PropTypes.any, item: PropTypes.any, lazy: PropTypes.oneOfType([ PropTypes.bool, PropTypes.object, ]), checked: PropTypes.bool, prefixCls: PropTypes.string, disabled: PropTypes.bool, }, name: 'Item', render () { const { renderedText, renderedEl, item, lazy, checked, disabled, prefixCls, } = this.$props const className = classNames({ [`${prefixCls}-content-item`]: true, [`${prefixCls}-content-item-disabled`]: disabled || item.disabled, }) let title if (typeof renderedText === 'string' || typeof renderedText === 'number') { title = String(renderedText) } const listItem = (