@ryo-98/react-api-bridge
Version:
A registry for component imperative api
4 lines (3 loc) • 429 B
TypeScript
import { BoundaryContextValue } from "../types/boundary.js";
import { GetUpperAPIOptions } from "../types/options.js";
export declare const useFinalContextValue: <A extends object, N extends keyof A, O extends Partial<Record<keyof A, import("../types/options.js").APIOptions>>, P>(options: GetUpperAPIOptions<A, N, O, P> | undefined, bridgeContext: React.Context<BoundaryContextValue<A, P, O>>) => BoundaryContextValue<A, P, O>;