"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)('Drawer', module).add('Default', (0, _addonInfo.withInfo)('Default')(function () {
  return _react.default.createElement(_reactRouterDom.BrowserRouter, null, _react.default.createElement(_reactRouter.Route, {
    render: function render() {
      return _react.default.createElement(_index.default, {
        companies: [{
          id: 1,
          name: 'Kudoo'
        }, {
          id: 2,
          name: 'Facebook'
        }],
        selectedCompany: {
          id: 1,
          name: 'Kudoo',
          owner: true
        }
      });
    }
  }));
}));