import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
import React__default, { forwardRef } from 'react';
import { base } from './variations/_view/base.js';

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

export { panelFooterConfig, panelFooterRoot };
