UNPKG

504 BTypeScriptView Raw
1import * as React from 'react';
2import { FormatDateOptions } from '@formatjs/intl';
3import { DateTimeFormat } from '@formatjs/ecma402-abstract';
4interface Props extends FormatDateOptions {
5 from: Parameters<DateTimeFormat['formatRange']>[0];
6 to: Parameters<DateTimeFormat['formatRange']>[1];
7 children?(value: React.ReactNode): React.ReactElement | null;
8}
9declare const FormattedDateTimeRange: React.FC<Props>;
10export default FormattedDateTimeRange;
11//# sourceMappingURL=dateTimeRange.d.ts.map
\No newline at end of file