mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-04-08 06:26:55 +02:00
12 lines
395 B
TypeScript
12 lines
395 B
TypeScript
import { ScrollArea } from "@/components/ui/scroll-area"
|
|
import ZapButtonListItem from "./ZapButtonListItem";
|
|
|
|
export default function ZapButtonList({ events }: { events: any }) {
|
|
return (
|
|
<ScrollArea className="px-4 h-[50vh]">
|
|
{events.map((event: any) => (
|
|
<ZapButtonListItem key={event.id} event={event} />
|
|
))}
|
|
</ScrollArea>
|
|
);
|
|
} |