import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { HostComponent, ViewProps } from 'react-native'; /** * Mandatory initialization values for Taboola plugin view. * * @param unitId Unique identifier for the Taboola unit * @param pageId Unique identifier for the Taboola page * * These values are crucial for linking with the programmatically unit and page to the specific view, ensuring correct content rendering . */ interface NativeProps extends ViewProps { initValues: { unitId: string; pageId: string }; } //todo pass here pageId and unitID and extract TBLClassicUnit form the native side export default codegenNativeComponent( 'TBLRNTPluginView' ) as HostComponent;