import { FC } from "react";
import { NewDateTimeFormatter } from "../../../../../../_digifi/lib/NewDateTimeFormatter";

type Props = {
  added?: string;
};

const AddedCell: FC<Props> = ({ added }) => (
  <div className="badge badge-light fw-bolder">
    {NewDateTimeFormatter(added)}
  </div>
);

export { AddedCell };
