import { cn } from "@lib/utils" import { SyncLogoIcon } from "@ui/assets/icons" function CalendarIcon() { return ( Calendar Icon ) } export function Summary({ memoryEntries, summary, createdAt, }: { memoryEntries: any[] summary: string createdAt: Date }) { return (

Summary

powered by supermemory
{summary}
0 ? "justify-between" : "justify-end", )} > {memoryEntries.length > 0 && (

{memoryEntries.length}{" "} {memoryEntries.length === 1 ? "memory" : "memories"}

)}

{new Date(createdAt).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric", })}

) }