UNPKG

@okcontract/sdk-react

Version:

One-stop-shop permissionless SDK for building any blockchain frontend

6 lines (5 loc) 292 B
import type { AnyCell } from "@okcontract/cells"; type UseCellReturnType<T> = T | undefined; export declare function useCell<T>(cell: AnyCell<T> | null | undefined): UseCellReturnType<T>; export declare function useCell<T>(cell: AnyCell<T> | null | undefined, defaultValue: T): T; export {};