/** * Merge callbacks by returning a function that calls both functions. This is useful for components * that need to provide callback functionality, but want to allow additional functionality to be * provided * @example * const MyComponent = ({ myProp, ...elemProps }) => { * return ( * * ) * } * @param elemProps Props passed into a component * @param componentProps Props the component provides */ export declare function mergeCallback(callback1: T, callback2?: Function): T; //# sourceMappingURL=mergeCallback.d.ts.map