"use strict";

var _react = _interopRequireDefault(require("react"));
var _react2 = require("@storybook/react");
var _index = _interopRequireDefault(require("./index"));
var _storybookState = require("@sambego/storybook-state");
var _i18n = require("../../../../Framework/i18n");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var store = new _storybookState.Store({
  note: '100'
});
(0, _react2.storiesOf)('AmountInput', module).add('with label', function () {
  return /*#__PURE__*/_react["default"].createElement(_storybookState.State, {
    store: store
  }, function (state) {
    return [/*#__PURE__*/_react["default"].createElement(_index["default"], {
      value: state.note,
      key: state.note,
      amountLabel: (0, _i18n.t)('amountPrice.amount'),
      amountValue: state.amount
    })];
  });
});