@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
11 lines • 682 B
TypeScript
import { CommonCallingHandlers } from "../../../../../calling-component-bindings/src";
import { _ComponentCallingHandlers } from "../../../../../calling-component-bindings/src";
import { CommonProperties } from "../../../../../acs-ui-common/src";
import { ReactElement } from 'react';
type AdapterCommonCallingHandlers = Omit<CommonCallingHandlers, 'onAcceptCall' | 'onRejectCall'>;
/**
* @private
*/
export declare const useHandlers: <PropsT>(_component: (props: PropsT) => ReactElement | null) => Pick<AdapterCommonCallingHandlers, CommonProperties<AdapterCommonCallingHandlers, PropsT>> & Partial<_ComponentCallingHandlers>;
export {};
//# sourceMappingURL=useHandlers.d.ts.map