MCPcopy Create free account
hub / github.com/9d8dev/directory / BookmarkGrid

Function BookmarkGrid

components/bookmark-grid.tsx:3–17  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

1import React from "react";
2
3export const BookmarkGrid = ({ children }: { children: React.ReactNode }) => {
4 return (
5 <div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
6 {React.Children.map(children, (child, index) => (
7 <div
8 key={index}
9 className="fade-in h-full"
10 style={{ animationDelay: `${index * 50}ms` }}
11 >
12 {child}
13 </div>
14 ))}
15 </div>
16 );
17};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected