UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

10 lines (9 loc) 329 B
import React from 'react'; /** * Utility hook to merge provided with internal ref. * It works with both callback refs and normal object ref. * @param providedRef * @param initialValue * @returns */ export declare const useProvidedRef: <T>(providedRef: React.ForwardedRef<T>, initialValue?: T) => React.MutableRefObject<T>;