import { ChatItemBot } from './ChatItemBot'
import { ChatItemUser } from './ChatItemUser'
import type { ChatRecord } from '@/store/chatSlice'

interface ChatItemProps {
  record: ChatRecord
}

export const ChatItem: React.FC<ChatItemProps> = ({ record }) => {
  return (
    <>
      <ChatItemUser record={record} />
      <ChatItemBot record={record} />
    </>
  )
}
