UNPKG

@leafygreen-ui/hooks

Version:
6 lines 279 B
import * as React from 'react'; /** * Merges an array of refs into a single memoized callback ref or `null`. */ export declare function useMergeRefs<Instance>(refs: Array<React.Ref<Instance> | undefined>): React.RefCallback<Instance> | null; //# sourceMappingURL=index.d.ts.map