Created test for Time component

This commit is contained in:
Alejandro Celaya
2021-06-25 20:05:06 +02:00
parent 3999d14bab
commit fb1ced5e3f
2 changed files with 31 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
import { parseISO, format as formatDate, getUnixTime, formatDistance } from 'date-fns';
import { isDateObject } from './helpers/date';
interface DateProps {
export interface DateProps {
date: Date | string;
format?: string;
relative?: boolean;