UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

8 lines (7 loc) 429 B
/** * Provides a unique identifier (a symbol in this case) that can be refreshed when necessary. * Components using this hook will receive the initial symbol value and the refresh function to trigger a change in the symbol. * This can be helpful in scenarios where you want to force a re-render or update. */ export declare function useSymbolRefresh(): [symbol: symbol, refresh: () => void]; export default useSymbolRefresh;