mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 13:41:52 +02:00
5 lines
338 B
TypeScript
5 lines
338 B
TypeScript
/// <reference types="react" />
|
|
export declare function optionalRef<T>(cb: (ref: T) => void, isOptional?: boolean): ((ref: T) => void) & {
|
|
[x: symbol]: boolean;
|
|
};
|
|
export declare function useSyncRefs<TType>(...refs: (React.MutableRefObject<TType | null> | ((instance: TType) => void) | null)[]): ((value: TType) => void) | undefined;
|