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

var _ArrowButton2 = _interopRequireDefault(_ArrowButton);

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

(0, _react3.storiesOf)('atoms/buttons', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('ArrowButton', function () {
  var props = {
    direction: (0, _addonKnobs.select)('direction', ['left', 'right']),
    href: (0, _addonKnobs.text)('href', ''),
    info: (0, _addonKnobs.text)('info', 'Left'),
    onClick: (0, _addonActions.action)('Button Clicked')
  };
  return _react2.default.createElement(_index2.default, props);
}, { info: _ArrowButton2.default });