import { requireNativeView } from 'expo'; import type { NativeSyntheticEvent, ViewProps } from 'react-native'; import { Platform } from 'react-native'; type AuthEvent = Readonly<{ type: string }>; interface NativeProps extends ViewProps { mode?: string; isDismissible?: boolean; logoMaxHeight?: number; hostBackButton?: boolean; onAuthEvent?: (event: NativeSyntheticEvent) => void; onHostBack?: (event: NativeSyntheticEvent) => void; } const NativeClerkAuthView = Platform.OS === 'ios' || Platform.OS === 'android' ? requireNativeView('ClerkAuthView') : null; export default NativeClerkAuthView;