/**
 * tdesign v0.46.4
 * (c) 2022 tdesign
 * @license MIT
 */

import props from './list-item-props.js';
import { renderContent, renderTNodeJSX } from '../utils/render-tnode.js';
import { getClassPrefixMixins } from '../config-provider/config-receiver.js';
import mixins from '../utils/mixins.js';
import '@babel/runtime/helpers/defineProperty';
import '@babel/runtime/helpers/typeof';
import 'vue';
import 'lodash/camelCase';
import 'lodash/kebabCase';
import 'lodash/mergeWith';
import '../config-provider/context.js';
import 'lodash/merge';
import '../_common/js/global-config/default-config.js';
import '../_common/js/global-config/locale/zh_CN.js';
import '../config-provider/type.js';

var classPrefixMixins = getClassPrefixMixins("list-item");
var _ListItem = mixins(classPrefixMixins).extend({
  name: "TListItem",
  props: props,
  render: function render() {
    var h = arguments[0];
    var content = renderContent(this, "default", "content");
    var propsActionContent = renderTNodeJSX(this, "action");
    return h("li", {
      "class": this.componentName
    }, [h("div", {
      "class": "".concat(this.componentName, "-main")
    }, [h("div", {
      "class": "".concat(this.componentName, "__content")
    }, [content]), propsActionContent && h("li", {
      "class": "".concat(this.componentName, "__action")
    }, [propsActionContent])])]);
  }
});

export { _ListItem as default };
//# sourceMappingURL=list-item.js.map
