Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
5 lines
298 B
Plaintext
5 lines
298 B
Plaintext
import React from 'react';
|
|
type UserRef<T> = ((instance: T | null) => void) | React.RefObject<T> | null | undefined;
|
|
declare const useComposedRef: <T extends HTMLElement>(libRef: React.MutableRefObject<T | null>, userRef: UserRef<T>) => (instance: T | null) => void;
|
|
export default useComposedRef;
|