'use strict';

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

var _rollupPluginBabelHelpers = require('../../../../_virtual/_rollupPluginBabelHelpers.js');
var React = require('react');
var base = require('./variations/_view/base.js');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

var _excluded = ["children", "view"];
var panelFooterRoot = function panelFooterRoot(Root) {
  return /*#__PURE__*/React.forwardRef(function (_ref, outerRef) {
    var children = _ref.children,
      view = _ref.view,
      rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
    return /*#__PURE__*/React__default.default.createElement(Root, _rollupPluginBabelHelpers.extends({
      ref: outerRef,
      view: view
    }, rest), children);
  });
};
var panelFooterConfig = {
  name: 'PanelFooter',
  tag: 'div',
  layout: panelFooterRoot,
  base: '',
  variations: {
    view: {
      css: base.base
    }
  },
  defaults: {
    view: 'default'
  }
};

exports.panelFooterConfig = panelFooterConfig;
exports.panelFooterRoot = panelFooterRoot;
