@vis.gl/react-google-maps
Version:
React components and hooks for the Google Maps JavaScript API
11 lines (10 loc) • 300 B
TypeScript
/**
* Internally used to copy values from props into API-Objects
* whenever they change.
*
* @example
* usePropBinding(marker, 'position', position);
*
* @internal
*/
export declare function usePropBinding<T extends object, K extends keyof T>(object: T | null, prop: K, value: T[K]): void;