import { Sandbox } from "@/lib/types" import { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table" import Image from "next/image" import Button from "../ui/customButton" import { ChevronRight } from "lucide-react" import Avatar from "../ui/avatar" export default function DashboardSharedWithMe({ shared, }: { shared: { id: string name: string type: "react" | "node" author: string sharedOn: Date }[] }) { return (
Shared With Me
Sandbox Name Shared By Opened {shared.map((sandbox) => (
{sandbox.name}
{sandbox.author}
{sandbox.sharedOn.toLocaleDateString()}
))}
) }