import * as React from 'react'; import './index.less'; export interface TimeProps { text?: string; children?: string; format?: string; type?: 'year' | 'month' | 'day' | 'h' | 'm' | 's'; style?: React.CSSProperties; className?: string; value?: any; } export interface TimeRangeProps extends Omit { texts: [string, string]; } declare const Time: React.FunctionComponent; export default Time;