Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,18 @@
import DateCell from "~/components/ui/dates/DateCell";
import { RowWithCreatedBy } from "~/utils/db/entities/rows.db.server";
import { DateDisplay } from "~/utils/shared/DateUtils";
import RowCreatedByBadge from "./RowCreatedByBadge";
interface Props {
row: RowWithCreatedBy;
by?: { withEmail?: boolean };
date?: { displays?: DateDisplay[] };
}
export default function RowCreatedBadge({ row, by = { withEmail: true }, date = { displays: ["ymd"] } }: Props) {
return (
<div className="flex flex-col">
{date && <DateCell displays={date.displays} date={row.createdAt} />}
{by && <RowCreatedByBadge row={row} withEmail={by.withEmail} />}
</div>
);
}