{"size": 1067, "ext": "js", "max_stars_repo_path": "lib/skins/simple/HeaderSkin.js", "max_stars_repo_name": "rcmorano/react-polymorph-fix", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/skins/simple/HeaderSkin.js", "max_issues_repo_name": "rcmorano/react-polymorph-fix", "max_issues_repo_issues_event_min_datetime": "2020-07-17T06:57:10.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-10T18:02:10.000Z", "max_forks_repo_path": "lib/skins/simple/HeaderSkin.js", "max_forks_repo_name": "rcmorano/react-polymorph-fix", "max_forks_repo_forks_event_min_datetime": "2019-11-04T10:47:49.000Z", "max_forks_repo_forks_event_max_datetime": "2019-11-04T10:47:49.000Z"}
{"max_stars_count": null, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 31.3823529412, "max_line_length": 195, "alphanum_fraction": 0.7085285848}
'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.HeaderSkin = undefined;

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _classnames = require('classnames');

var _classnames2 = _interopRequireDefault(_classnames);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

var HeaderSkin = exports.HeaderSkin = function HeaderSkin(props) {
  var children = props.children,
      className = props.className,
      inlineStyles = props.inlineStyles,
      theme = props.theme;

  var themeClasses = Object.values(theme);

  return _react2.default.createElement(
    'header',
    { className: (0, _classnames2.default)([className].concat(_toConsumableArray(themeClasses))), style: inlineStyles },
    children
  );
};
//# sourceMappingURL=HeaderSkin.js.map