Edit Mode

This commit is contained in:
Isaac Wise
2024-02-10 23:55:00 -06:00
parent 44daffbae6
commit 8ecedf7cae
7 changed files with 91 additions and 70 deletions
@@ -4,9 +4,11 @@ import { LinkIncludingShortenedCollectionAndTags } from "@/types/global";
export default function ListView({
links,
showCheckbox = true,
editMode
}: {
links: LinkIncludingShortenedCollectionAndTags[];
showCheckbox?: boolean;
editMode?: boolean;
}) {
return (
<div className="flex flex-col">
@@ -18,6 +20,8 @@ export default function ListView({
count={i}
showCheckbox={showCheckbox}
flipDropdown={i === links.length - 1}
editMode={editMode}
/>
);
})}