UNPKG

@applicaster/zapp-react-native-ui-components

Version:

Applicaster Zapp React Native ui components for the Quick Brick App

18 lines (13 loc) 505 B
import { requireNativeComponent, NativeModules, View } from "react-native"; // AndroidTV View that removes the native Focusable property from the children. // Used to prevent default focus of taking over the component let ChildrenFocusDeactivatorView = View; if ( NativeModules.UIManager && "ChildrenFocusDeactivatorView" in NativeModules.UIManager ) { ChildrenFocusDeactivatorView = requireNativeComponent( "ChildrenFocusDeactivatorView" ); } export default ChildrenFocusDeactivatorView;