<Copilot/>

The <Copilot/> is a React component that provides the ability to render a fully functional Continual Copilot.

Usage

_app.tsx
import { CopilotProvider } from "@continual/react";
 
const { CONTINUAL_COPILOT_ID } = process.env;
 
const App = () => (
  <CopilotProvider copilotId={CONTINUAL_COPILOT_ID}>
    <Copilot>
  </CopilotProvider>
);

Properties

Customization

You can learn about the customization options in Customizing appearance.