import React from 'react'; import 'react-day-picker/lib/style.css'; import 'moment/locale/fi'; import 'moment/locale/sv'; import { ClassValue } from 'classnames/types'; import { DatePickerProps } from '../DatePicker/DatePicker'; declare type DatePickerWithRangeProps = { /** DatePicker props for starting date picker */ fromDatePicker: DatePickerProps; /** DatePicker props for end date picker */ toDatePicker: DatePickerProps; /** Hide the existing label in order to show customized label */ showCustomLabel?: boolean; /** Label shown on the input */ label?: string; /** Custom class name */ className?: ClassValue; /** Error text shown below the input to indicate the errorneous state */ errorText?: string; /** Additional description for input, if label is not enough */ helperText?: string; /** Sets the input to disabled state */ disabled?: boolean; /** Adds the required mark on the input */ required?: boolean; }; declare const DatePickerWithRange: React.FunctionComponent; export default DatePickerWithRange;