PostHogProviderProps

Properties

NameType
apiKeystring

Your PostHog API key

autocaptureboolean | PostHogAutocaptureOptions

Autocapture configuration - can be a boolean or detailed options

childrenReact.ReactNode

The child components to render within the PostHog context

clientPostHog

An existing PostHog client instance

debugboolean

Enable debug mode for additional logging

optionsPostHogOptions

PostHog configuration options

styleStyleProp<ViewStyle>

Custom styles for the provider wrapper View

Community questions

Questions about this page? or post a community question.