"use strict";

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

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

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

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

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

(0, _react2.storiesOf)('Modal', module).add('Default', (0, _addonInfo.withInfo)('Default')(function () {
  return _react.default.createElement("div", {
    style: {
      margin: 10
    }
  }, _react.default.createElement(_index.default, {
    visible: true,
    title: "Ready to submit for approval",
    description: _react.default.createElement("div", null, "Your timesheet is now finalised. It will now be submitted for Approval."),
    buttons: [{
      title: 'Cancel',
      type: 'cancel'
    }, {
      title: 'Loading',
      loading: true
    }, {
      title: 'Submit'
    }, {
      title: 'Disabled',
      isDisabled: true
    }]
  }));
}));