/**
 * tdesign v0.39.1-alpha.1
 * (c) 2022 tdesign
 * @license MIT
 */

import Vue from 'vue';
import { prefix } from '../config.js';
import props from './list-item-props.js';
import { renderContent, renderTNodeJSX } from '../utils/render-tnode.js';
import '@babel/runtime/helpers/defineProperty';
import '@babel/runtime/helpers/typeof';
import 'lodash/isObject';

var name = "".concat(prefix, "-list-item");
var _ListItem = Vue.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": name
    }, [h("div", {
      "class": "".concat(name, "-main")
    }, [h("div", {
      "class": "".concat(name, "__content")
    }, [content]), propsActionContent && h("li", {
      "class": "".concat(name, "__action")
    }, [propsActionContent])])]);
  }
});

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