import React from 'react'; import { View, Text } from 'react-native'; import { NativeAdaptyOnboardingViewProps } from './types'; import { mockStyles } from './mock-styles'; /** * Mock implementation of AdaptyOnboardingView component. * * This component is used in environments where native modules are not available: * - Expo Go * - Web browsers * * In builds with native dependencies (Expo EAS or dev-client), the actual native * AdaptyOnboardingView component will be used instead, which renders the real * onboarding UI configured in the Adapty Dashboard. * * @see {@link https://adapty.io/docs/react-native-present-onboardings Displaying onboardings} */ export const AdaptyOnboardingViewMock: React.FC< NativeAdaptyOnboardingViewProps > = props => { return ( 🚀 AdaptyOnboardingView This is a mock component. The real Adapty onboarding will be displayed in builds with native dependencies (Expo EAS or dev-client). 💡 Running on: Expo Go, Web ); };