@lifi/widget
Version:
LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
15 lines (12 loc) • 383 B
text/typescript
import { useBookmarkStore } from './BookmarkStore.js'
import type { BookmarkProps } from './types.js'
export const useBookmarks = (): BookmarkProps => {
const [bookmarks, selectedBookmark, recentWallets] = useBookmarkStore(
(store) => [store.bookmarks, store.selectedBookmark, store.recentWallets]
)
return {
bookmarks,
selectedBookmark,
recentWallets,
}
}