'use client'; import { AuditLog } from '@prisma/client'; import { ActivityIcon } from 'lucide-react'; import { Skeleton } from '@/components/ui/skeleton'; import { ActivityItem } from '@/components/activity-item'; interface ActivityProps { items: AuditLog[]; } export const Activity = ({ items }: ActivityProps) => { return (

Activity

    {items.map((item) => ( ))}
); }; Activity.Skeleton = function ActivitySkeleton() { return (
); };