{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "realtime-chat-react-router", "type": "registry:component", "title": "Realtime Chat", "description": "Component which renders realtime chat messages from other users in a room.", "dependencies": [ "lucide-react", "@supabase/ssr@latest", "@supabase/supabase-js@latest" ], "registryDependencies": [ "input", "button" ], "files": [ { "path": "registry/default/blocks/realtime-chat/components/chat-message.tsx", "content": "import { cn } from '@/lib/utils'\nimport type { ChatMessage } from '@/registry/default/blocks/realtime-chat/hooks/use-realtime-chat'\n\ninterface ChatMessageItemProps {\n message: ChatMessage\n isOwnMessage: boolean\n showHeader: boolean\n}\n\nexport const ChatMessageItem = ({ message, isOwnMessage, showHeader }: ChatMessageItemProps) => {\n return (\n