'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var generateSinglePicker = require('./generateSinglePicker.js');
var generateRangePicker = require('./generateRangePicker.js');
require('./interface.js');

function generatePicker(generateConfig, extraProps) {
  const {
    DatePicker,
    WeekPicker,
    MonthPicker,
    YearPicker,
    TimePicker,
    QuarterPicker
  } = generateSinglePicker.default(generateConfig, extraProps);
  const RangePicker = generateRangePicker.default(generateConfig, extraProps);
  return {
    DatePicker,
    WeekPicker,
    MonthPicker,
    YearPicker,
    TimePicker,
    QuarterPicker,
    RangePicker
  };
}

exports.default = generatePicker;
//# sourceMappingURL=index.js.map
