mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
018b957305
Adds a **React Native** SDK to the reference docs at `/reference/react-native`, covering the full `@copilotkit/react-native` public API. Modeled on the existing React/Core/Bots reference sections. **Nav:** register `react-native` in `reference-items.ts`, add the SDK selector label + an overview card. **Content (22 pages, written from package source):** index, 8 components, 13 hooks. `CopilotChat` and `CopilotModal` exist in both a headless (root) and prebuilt-UI (`/components`) form; each page documents both, split by import path. **Verified:** `next build` passes, all pages render, `oxlint` + `tsc` clean, and content appears in `llms.txt` / `llms-full.txt`. Out of scope per the issue: guide content and new demos. --- ## Preview **Overview + SDK nav** — `/reference/react-native` (left sidebar shows the new “React Native” SDK selector and all 8 components + 13 hooks)  **Component page — `CopilotChat`** — `/reference/react-native/components/CopilotChat` (headless + prebuilt-UI split by import path)  **Hook page — `useAgent`** — `/reference/react-native/hooks/useAgent` (re-export callout, react-native code examples) 