Skip to documentation
Design system / Sources & standards
Current repository source
submissionTile.tsx
src/components/submissions/submissionTile.tsx
This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.
import type { ReactNode } from "react";
import { SubmissionCard, type SubmissionCardProps } from "./submissionCard";
/** Legacy media adapter. All summary markup belongs to SubmissionCard. */
export function SubmissionTile({ id: _id, date, ...props }: Omit<SubmissionCardProps, "updatedAt" | "media"> & {
id: string;
date: string;
action?: ReactNode;
}) {
return <SubmissionCard {...props} media updatedAt={date} dateLabel={props.dateLabel ?? "Submitted"} />;
}
All sources and standards