el.xwx.moe/components/LinkViews/ListView.tsx

17 lines
409 B
TypeScript
Raw Normal View History

2023-12-15 22:16:56 -06:00
import LinkRow from "@/components/LinkViews/LinkComponents/LinkRow";
2023-12-15 21:25:39 -06:00
import { LinkIncludingShortenedCollectionAndTags } from "@/types/global";
export default function ListView({
links,
}: {
links: LinkIncludingShortenedCollectionAndTags[];
}) {
return (
2023-12-16 14:06:26 -06:00
<div className="flex flex-col">
{links.map((e, i) => {
return <LinkRow key={i} link={e} count={i} />;
})}
2023-12-15 21:25:39 -06:00
</div>
);
}