import { requireNativeComponent, View } from "react-native";
import { isAppleTV } from "@applicaster/zapp-react-native-ui-components/Helpers/Platform";

// @TODO define the types
export const FocusableGroupNative = isAppleTV()
  ? requireNativeComponent<any>("FocusableGroupViewModule")
  : View;

// @TODO define the types
export const FocusableItemNative = isAppleTV()
  ? requireNativeComponent<any>("FocusableViewModule")
  : View;
