'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 _PhoneNumber = require('./PhoneNumber.md');

var _PhoneNumber2 = _interopRequireDefault(_PhoneNumber);

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

(0, _react3.storiesOf)('atoms/contact', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('PhoneNumber', function () {
  var props = {
    number: (0, _addonKnobs.text)('number', '5087985180'),
    details: (0, _addonKnobs.text)('details', 'Open Monday through Friday from 9:00 a.m. to 5:00 p.m.')
  };
  return _react2.default.createElement(_index2.default, props);
}, { info: _PhoneNumber2.default });