"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.props = void 0;

var _react = _interopRequireDefault(require("react"));

var _react2 = require("@storybook/react");

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

var _assets = require("@vincent_za/assets");

var _component = _interopRequireDefault(require("./component"));

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

var props = function props() {
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
      _ref$width = _ref.width,
      width = _ref$width === void 0 ? undefined : _ref$width,
      _ref$size = _ref.size,
      size = _ref$size === void 0 ? undefined : _ref$size;

  return {
    svg: _assets.addSvg,
    width: (0, _addonKnobs.text)('width', width),
    size: (0, _addonKnobs.text)('size', size)
  };
};

exports.props = props;
(0, _react2.storiesOf)('Web|Svg').add('Default', function () {
  return _react.default.createElement(_component.default, props());
});