UNPKG

@startpage/bookmarks

Version:

Bookmark management for your startpage

7 lines (6 loc) 414 B
import { BookmarkGroup, BookmarkWithoutId } from "../BookmarkContext"; export declare const getBookmarkActions: (bookmarkGroups: BookmarkGroup[], setBookmarkGroups: (value: BookmarkGroup[]) => void) => { addBookmark: (groupId: string, bookmark: BookmarkWithoutId) => void; editBookmark: (bookmarkId: string, newValues: BookmarkWithoutId) => void; removeBookmark: (bookmarkId: string) => void; };