allow setting a global link target

This commit is contained in:
Ben Phelps 2022-09-21 08:40:19 +03:00
parent 75244cc40e
commit 20ac15b18c
7 changed files with 26 additions and 25 deletions

View file

@ -1,10 +1,10 @@
import Item from "components/bookmarks/item";
export default function List({ bookmarks }) {
export default function List({ bookmarks, target }) {
return (
<ul className="mt-3 flex flex-col">
{bookmarks.map((bookmark) => (
<Item key={bookmark.name} bookmark={bookmark} />
<Item key={bookmark.name} bookmark={bookmark} target={target} />
))}
</ul>
);