import createTimePicker from './time-picker';
import momentGenerateConfig from '../vc-picker/generate/moment';

var _createTimePicker = createTimePicker(momentGenerateConfig),
    TimePicker = _createTimePicker.TimePicker,
    TimeRangePicker = _createTimePicker.TimeRangePicker;

/* istanbul ignore next */
TimePicker.install = function (app) {
  app.component(TimePicker.name, TimePicker);
  app.component(TimeRangePicker.name, TimeRangePicker);
  return app;
};

TimePicker.TimeRangePicker = TimeRangePicker;
export { TimePicker, TimeRangePicker };
export default TimePicker;