1 | import * as React from 'react';
|
2 | import { FormatRelativeTimeOptions } from '@formatjs/intl';
|
3 | export interface Props extends FormatRelativeTimeOptions {
|
4 | value?: number;
|
5 | unit?: Intl.RelativeTimeFormatUnit;
|
6 | updateIntervalInSeconds?: number;
|
7 | children?(value: string): React.ReactElement | null;
|
8 | }
|
9 | declare const FormattedRelativeTime: React.FC<Props>;
|
10 | export default FormattedRelativeTime;
|