From 4b9852b36fed3c83159b590da85c372c54b3e480 Mon Sep 17 00:00:00 2001 From: Kien Ngo Date: Fri, 27 Feb 2026 02:55:05 +0700 Subject: [PATCH] docs: Update react native Installation docs (#297) --- apps/public/content/docs/(tracking)/sdks/react-native.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/public/content/docs/(tracking)/sdks/react-native.mdx b/apps/public/content/docs/(tracking)/sdks/react-native.mdx index aadf014f..8712c4f6 100644 --- a/apps/public/content/docs/(tracking)/sdks/react-native.mdx +++ b/apps/public/content/docs/(tracking)/sdks/react-native.mdx @@ -32,7 +32,9 @@ npx expo install expo-application expo-constants On native we use a clientSecret to authenticate the app. ```typescript -const op = new Openpanel({ +import { OpenPanel } from '@openpanel/react-native'; + +const op = new OpenPanel({ clientId: '{YOUR_CLIENT_ID}', clientSecret: '{YOUR_CLIENT_SECRET}', });