'use strict';

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

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

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

var _stateseal = require('../../../../assets/images/stateseal.png');

var _stateseal2 = _interopRequireDefault(_stateseal);

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

var _2 = _interopRequireDefault(_);

var _SiteLogo = require('./SiteLogo.md');

var _SiteLogo2 = _interopRequireDefault(_SiteLogo);

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

(0, _react3.storiesOf)('atoms/media', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('SiteLogo', function () {
  var siteLogoProps = {
    url: {
      domain: (0, _addonKnobs.text)('domain', 'https://www.mass.gov/')
    },
    image: {
      src: (0, _addonKnobs.text)('src', _stateseal2.default),
      alt: (0, _addonKnobs.text)('alt', ''),
      width: (0, _addonKnobs.number)('width', 45),
      height: (0, _addonKnobs.number)('height', 45)
    },
    siteName: (0, _addonKnobs.text)('siteName', 'Mass.gov'),
    title: (0, _addonKnobs.text)('title', 'Mass.gov homepage')
  };
  return _react2.default.createElement(_2.default, siteLogoProps);
}, { info: _SiteLogo2.default });