'use strict';

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _react3 = require('@storybook/react');

var _addonKnobs = require('@storybook/addon-knobs');

var _ = require('../../..');

var _2 = _interopRequireDefault(_);

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

(0, _react3.storiesOf)('forms|organisms', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('FeedbackForm', function () {
  var props = {
    formId: (0, _addonKnobs.number)('formId', 2521317),
    radioId: (0, _addonKnobs.number)('radioId', 47054416),
    yesFeedbackId: (0, _addonKnobs.number)('yesFeedbackId', 52940022),
    noFeedbackId: (0, _addonKnobs.number)('noFeedbackId', 47054414),
    refererId: (0, _addonKnobs.number)('refererId', 47056299),
    nodeId: (0, _addonKnobs.number)('nodeId', undefined),
    successMessage: function successMessage() {
      return _react2.default.createElement(
        'p',
        null,
        'This is a custom success messasge! You can put HTML in here or use a component.'
      );
    }
  };
  return _react2.default.createElement(_2.default, props);
});