'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);

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

(0, _react3.storiesOf)('atoms/contact', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('Address (simple)', function () {
  var props = {
    address: (0, _addonKnobs.text)('address', '324-R Clark Street, Worcester, MA 01606'),
    directionLink: (0, _addonKnobs.text)('directionLink', 'https://maps.google.com/?q=324-R+Clark+Street%2C+Worcester%2C+MA+01606'),
    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);
}).add('Address (split)', function () {
  var props = {
    address: {
      streetAddress: (0, _addonKnobs.text)('streetAddress', '324-R Clark Street'),
      muni: (0, _addonKnobs.text)('muni', 'Worcester'),
      state: (0, _addonKnobs.text)('state', 'MA'),
      zip: (0, _addonKnobs.text)('zip', '01606')
    },
    directionLink: (0, _addonKnobs.text)('directionLink', 'https://maps.google.com/?q=324-R+Clark+Street%2C+Worcester%2C+MA+01606'),
    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);
});