"use strict";

var _react = _interopRequireDefault(require("react"));

var _react2 = require("@storybook/react");

var _addonInfo = require("@storybook/addon-info");

var _index = _interopRequireDefault(require("./index"));

var _reactRouterDom = require("react-router-dom");

var _reactRouter = require("react-router");

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

(0, _react2.storiesOf)('HeaderBar', module).add('Default', function () {
  return _react.default.createElement(_reactRouterDom.BrowserRouter, null, _react.default.createElement(_reactRouter.Route, {
    render: function render() {
      return _react.default.createElement("div", null, _react.default.createElement("div", {
        style: {
          marginTop: 15
        }
      }, _react.default.createElement("h4", null, "Default"), _react.default.createElement(_index.default, {
        headerLabel: 'Dashboard',
        profile: {
          firstName: 'John',
          lastName: 'Doe'
        }
      })), _react.default.createElement("div", {
        style: {
          marginTop: 100
        }
      }, _react.default.createElement("h4", null, "Custom Label"), _react.default.createElement(_index.default, {
        headerLabel: 'Dashboard',
        profile: {
          firstName: 'John',
          lastName: 'Doe'
        }
      })));
    }
  }));
});