/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

import { renderContent, renderLNodeJSX } from '../../utils/render-node.js';
import { getClassPrefixMixins } from '../config-provider/config-receiver.js';
import mixins from '../../utils/mixins.js';
import { ListItemProps } from './props.js';
import 'vue';
import 'lodash';
import 'lodash/mergeWith';
import '../config-provider/context.js';
import '../../_chunks/dep-def4c2ce.js';

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

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