@keen.io/ui-core
Version:
Keen visual components library
15 lines (14 loc) • 407 B
TypeScript
import { FC } from 'react';
declare type Props = {
relativity: string;
value: number;
units: string;
onChange: (timeframe: string) => void;
timeLabel: string;
unitsPlaceholderLabel: string;
relativityTitleForTodayLabel: string;
relativityTitleLabel: string;
disableAutoFocus?: boolean;
};
declare const RelativeTime: FC<Props>;
export default RelativeTime;