'use strict';

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

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

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

var _index = require('./index');

var _index2 = _interopRequireDefault(_index);

var _HelperText = require('./HelperText.md');

var _HelperText2 = _interopRequireDefault(_HelperText);

var _HelperTextKnobs = require('./HelperText.knobs.options');

var _HelperTextKnobs2 = _interopRequireDefault(_HelperTextKnobs);

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

(0, _react3.storiesOf)('forms|atoms', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('HelperText', function () {
  var props = {
    inputId: (0, _addonKnobs.text)('inputID', _HelperTextKnobs2.default.inputId),
    message: (0, _addonKnobs.text)('message', _HelperTextKnobs2.default.message)
  };
  return _react2.default.createElement(_index2.default, props);
}, { info: _HelperText2.default });