// @flow

type ReactDayPickerDisableDatesConfig = {
  before?: Date,
  after?: Date,
};

export type DatepickerProps = {
  label: string,
  onChange: Date => void,
  value?: Date,
  disabledDates?: Array<Date | ReactDayPickerDisableDatesConfig>,
  disableWeekends?: boolean,
  disablePastDates?: boolean,
};
