import { requireNativeView } from 'expo'; import type { NativeSyntheticEvent, ViewProps } from 'react-native'; import { Platform } from 'react-native'; type ProfileEvent = Readonly<{ type: string }>; interface NativeProps extends ViewProps { isDismissible?: boolean; hostBackButton?: boolean; onProfileEvent?: (event: NativeSyntheticEvent) => void; onHostBack?: (event: NativeSyntheticEvent) => void; } const NativeClerkUserProfileView = Platform.OS === 'ios' || Platform.OS === 'android' ? requireNativeView('ClerkUserProfileView') : null; export default NativeClerkUserProfileView;