// @flow
import type { TranslatedContent } from '../../types';
import type { StylableProps } from '../../mixins/themes';
import type { TestingProps } from '../../mixins/testing';

export type DateRange = {|
  from?: Date,
  to?: Date,
|};

export type DateRangePickerProps = {|
  ...TestingProps,
  ...StylableProps,
  onRangeChange: (range: DateRange) => void,
  placeholder?: TranslatedContent,
  hideAfterSelection?: boolean,
  range: DateRange,
|};
