/**
 * ldesign v0.2.2
 * (c) 2022年9月20日 swimly
 * @license MIT
 */

import { ListItemProps } from './props.js';
import { renderContent, renderLNodeJSX } from '../../utils/render-node.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 'lodash';
import '../config-provider/context.js';
import '../../chunks/zh_CN.js';
import '../config-provider/type.js';

var classPrefixMixins = getClassPrefixMixins("list-item");
var _ListItem = mixins(classPrefixMixins).extend({
  name: "LListItem",
  props: ListItemProps,
  render: function render() {
    var h = arguments[0];
    var content = renderContent(this, "default", "content");
    var propsActionContent = renderLNodeJSX(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
