// @flow
import type { TranslatedContent } from '../../types';
import type { SpaceProps } from '../../mixins/spacing';
import type { FontSize } from '../../mixins/typography';
import type { StylableProps } from '../../mixins/themes';
import type { TestingProps } from '../../mixins/testing';
import type { AriaProps } from '../../mixins/aria';

export type TimeRangeSelectorProps = {|
  ...TestingProps,
  ...SpaceProps,
  ...StylableProps,
  ...AriaProps,
  options: Array<{|
    value: string,
    label: TranslatedContent,
  |}>,
  fontSize?: FontSize,
  value?: ?string,
  onChange: (input: string) => void,
|};
