import createTimePicker from './time-picker';
import dayjsGenerateConfig from '../vc-picker/generate/dayjs';

var _createTimePicker = createTimePicker(dayjsGenerateConfig),
    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;