"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_react=_interopRequireDefault(require("react")),_react2=require("@storybook/react"),_index=_interopRequireDefault(require("./index")),_reactRouterDom=require("react-router-dom"),_reactRouter=require("react-router");(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"},noOfCompanies:1,onSelectProduct:function onSelectProduct(index,data){console.log({index:index,data:data})},products:[{key:"Inventory",value:"INVENTORY"},{key:"Finance",value:"FINANCE"},{key:"Health",value:"HEALTH"}]})),_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"},noOfCompanies:1,products:[{key:"Inventory",value:"INVENTORY"},{key:"Finance",value:"FINANCE"},{key:"Health",value:"HEALTH"}],initialSelectedProductIndex:2})))}}))});