"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

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

var _DatePicker = _interopRequireDefault(require("./DatePicker"));

var _DatePickerInput = _interopRequireDefault(require("./DatePickerInput"));

var SIZE = ['small', 'medium', 'large'];
var _default = {
  component: _DatePicker.default,
  title: 'DatePicker'
};
exports.default = _default;

var DatePickerStory = function DatePickerStory() {
  return /*#__PURE__*/_react.default.createElement("div", null, SIZE.map(function (size) {
    return /*#__PURE__*/_react.default.createElement(_DatePicker.default, {
      key: size,
      size: size,
      marginBottom: 4,
      selectedDate: new Date('1990-07-30'),
      onChange: function onChange() {}
    });
  }));
};

exports.DatePickerStory = DatePickerStory;

var DatePickerInputStory = function DatePickerInputStory() {
  return /*#__PURE__*/_react.default.createElement("div", null, SIZE.map(function (size) {
    return /*#__PURE__*/_react.default.createElement(_DatePickerInput.default, {
      key: size,
      size: size,
      marginBottom: 4,
      selectedDate: new Date('1990-07-30'),
      onChange: function onChange() {}
    });
  }));
};

exports.DatePickerInputStory = DatePickerInputStory;