// @flow import * as React from 'react' import type { Formatter } from './types' export type Props = $ReadOnly<{ /** If the component should update itself over time */ live?: boolean, /** minimum amount of time in seconds between re-renders */ minPeriod?: number, /** Maximum time between re-renders in seconds. The component should update at least once every `x` seconds */ maxPeriod?: number, /** The container to render the string into. You could use a string like `span` or a custom component */ component?: string | React.ComponentType<{ ... }>, /** * A title used for setting the title attribute if a