({ children }: { children: React.ReactNode })
| 1 | import React from "react"; |
| 2 | |
| 3 | export 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 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected