'use strict';

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

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

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

var _addonActions = require('@storybook/addon-actions');

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

var _index2 = _interopRequireDefault(_index);

var _ArrowNav = require('./ArrowNav.md');

var _ArrowNav2 = _interopRequireDefault(_ArrowNav);

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

(0, _react3.storiesOf)('molecules', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('ArrowNav', function () {
  var props = {
    href: (0, _addonKnobs.text)('href', ''),
    info: (0, _addonKnobs.text)('info', 'link info'),
    text: (0, _addonKnobs.text)('text', 'Text'),
    title: (0, _addonKnobs.text)('title', 'Title'),
    onClick: (0, _addonActions.action)('Clicked'),
    direction: (0, _addonKnobs.select)('direction', ['left', 'right']),
    label: (0, _addonKnobs.text)('label', 'Label')
  };
  return _react2.default.createElement(_index2.default, props);
}, { info: _ArrowNav2.default });