UNPKG

@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.

6 lines (5 loc) 384 B
import type { PersistStoreProviderProps } from '../types.js'; import type { BookmarkState, BookmarkStore } from './types.js'; export declare const BookmarkStoreContext: import("react").Context<BookmarkStore | null>; export declare const BookmarkStoreProvider: React.FC<PersistStoreProviderProps>; export declare function useBookmarkStore<T>(selector: (store: BookmarkState) => T): T;