# PostHogProviderProps **SDK:** PostHog React Native SDK ### Properties - **`apiKey`** (`string`) - Your PostHog project token. Ignored when `projectToken` is set. Deprecated: Use `projectToken` instead. This will be removed in the next major version. - **`autocapture`** (`boolean | PostHogAutocaptureOptions`) - Autocapture configuration - can be a boolean or detailed options. When not set, the default behavior is: - `captureScreens`: true - `captureTouches`: false - `captureAppLifecycleEvents`: true Set to `true` to enable all autocapture features (including touches). Set to `false` to disable all autocapture features. - **`children`** (`React.ReactNode`) - The child components to render within the PostHog context - **`client`** (`PostHog`) - An existing PostHog client instance - **`debug`** (`boolean`) - Enable debug mode for additional logging false - **`options`** (`PostHogOptions`) - PostHog configuration options - **`projectToken`** (`string`) - Your PostHog project token, which starts with `phc_`. Find it in your project settings: https://us.posthog.com/settings/project-details#variables - **`style`** (`StyleProp`) - Custom styles for the provider wrapper View