CupThread React Native & Expo SDK - v0.1.0
    Preparing search index...

    Interface CupThreadProviderProps

    Props for configuring the CupThreadProvider.

    const client = new FeedbackClient({
    baseUrl: 'https://api.cupthread.com',
    appKey: 'app_sample123',
    });

    <CupThreadProvider client={client} theme="system">
    <AppContent />
    </CupThreadProvider>
    interface CupThreadProviderProps {
        children: ReactNode;
        client: FeedbackClient;
        locale?: string;
        strings?: DeepPartial<CupThreadStrings>;
        theme?: SdkTheme;
        userToken?: string;
    }
    Index
    children: ReactNode

    React child elements wrapped by the SDK context provider.

    An instantiated FeedbackClient configured with your API base URL and application key.

    locale?: string

    Locale identifier for UI text localization (e.g. 'en', 'zh-Hans', 'zh', 'zh-CN').

    'en'

    Custom string overrides deeply merged on top of the active locale dictionary.

    theme?: SdkTheme

    Optional visual theme override (e.g., 'light', 'dark', 'midnight', 'ocean', 'forest', 'sunset', 'candy'). Defaults to remote app configuration or 'system'.

    userToken?: string

    Optional custom user token string. If omitted, UserTokenStore.shared generates and manages a persistent device token.