diff --git a/frontend/src/components/shared/CopilotKit/IntegrationExample.tsx b/frontend/src/components/shared/CopilotKit/IntegrationExample.tsx new file mode 100644 index 00000000..9b2eb30d --- /dev/null +++ b/frontend/src/components/shared/CopilotKit/IntegrationExample.tsx @@ -0,0 +1,245 @@ +/** + * Integration Example Component + * Shows how to integrate PlatformPersonaChat into existing editors + * Demonstrates practical usage patterns for different platforms + */ + +import React from 'react'; +import { PlatformPersonaProvider, PlatformPersonaChat } from '../PersonaContext'; +import { PlatformType } from '../../types/PlatformPersonaTypes'; + +// Example: LinkedIn Writer Integration +export const LinkedInWriterWithPersonaChat: React.FC = () => { + return ( +
+ {/* Existing LinkedIn Editor Content */} +
+

LinkedIn Content Editor

+