import React from 'react'; import { __ } from '@wordpress/i18n'; import { Plus } from 'lucide-react'; import ConversationList from '../ConversationList'; import ViewHeader from './ViewHeader'; const MessagesView = ({ headerActions, conversations, isLoading, onSelect, selectedId, loadingId, onNewChat, readOnly }) => (
{isLoading ? (
{__( 'Loading conversations...', 'aisk-ai-chat' )}
) : ( )}
); export default MessagesView;