add hw2
This commit is contained in:
5
node_modules/@headlessui/react/dist/hooks/use-sync-refs.d.ts
generated
vendored
Normal file
5
node_modules/@headlessui/react/dist/hooks/use-sync-refs.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/// <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;
|
||||
Reference in New Issue
Block a user