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

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var Vue = require('vue');
var config = require('../../config.js');
var utils_renderNode = require('../../utils/render-node.js');
var components_layout_props = require('./props.js');
require('lodash');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var Vue__default = /*#__PURE__*/_interopDefaultLegacy(Vue);

var _Footer = Vue__default["default"].extend({
  name: "LFooter",
  props: {
    ...components_layout_props.FooterProps
  },
  methods: {
    renderContent() {
      return this.$scopedSlots.default ? this.$scopedSlots.default(null) : "";
    }
  },
  render() {
    const h = arguments[0];
    const styles = this.height ? {
      height: this.height
    } : {};
    return h("footer", {
      "class": `${config.PREFIX}-layout__footer`,
      "style": styles
    }, [utils_renderNode.renderLNodeJSX(this, "default")]);
  }
});

exports["default"] = _Footer;
//# sourceMappingURL=footer.js.map
