react-native-acoustic-connect-beta
Version:
BETA: React native plugin for Acoustic Connect
30 lines • 1.49 kB
TypeScript
/********************************************************************************************
* Copyright (C) 2025 Acoustic, L.P. All rights reserved.
*
* NOTICE: This file contains material that is confidential and proprietary to
* Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
* industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
* Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
* prohibited.
********************************************************************************************/
import React from "react";
interface ConnectProps {
children: React.ReactNode;
captureKeyboardEvents: boolean;
captureDialogEvents?: boolean;
/**
* Preferred: an explicit NavigationContainer ref obtained from
* `useNavigationContainerRef()`. Using this prop decouples <Connect> from
* any assumption about the children structure and is the recommended
* integration path.
*
* If omitted, <Connect> falls back to (a) inspecting the direct child's
* own ref, then (b) auto-injecting an internal ref via cloneElement.
* Every path degrades gracefully — if no usable ref is resolved,
* screen-name tracking is disabled but touches still reach host components.
*/
navigationRef?: React.RefObject<any>;
}
declare const Connect: React.FC<ConnectProps>;
export default Connect;
//# sourceMappingURL=Connect.d.ts.map