import React from "react";

import { TooltipProps } from "@bigbinary/neeto-atoms";
import {
  timeFormat,
  DateTimeType,
} from "@bigbinary/neeto-commons-frontend/utils";

const DateFormat: {
  [key in Capitalize<keyof typeof timeFormat>]: React.FC<{
    date: DateTimeType;
    timerInterval?: number;
    tooltipDateFormat?: keyof typeof timeFormat;
    typographyProps?: React.HTMLAttributes<HTMLSpanElement>;
    tooltipProps?: Partial<TooltipProps>;
  }>;
};

export default DateFormat;
