/**
 * ldesign v0.2.3
 * (c) 2022年9月24日 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 'vue';
import 'lodash/camelCase';
import 'lodash/kebabCase';
import 'lodash/mergeWith';
import 'lodash';
import '../config-provider/context.js';
import '../../_chunks/dep-b1584b65.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
