import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' // import AppIcon from '@/app/components/base/app-icon' import { ReplayIcon } from '@/app/components/app/chat/icon-component' import Tooltip from '@/app/components/base/tooltip' export type IHeaderProps = { isMobile?: boolean customerIcon?: React.ReactNode title: string // icon: string // icon_background: string onCreateNewChat?: () => void } const Header: FC = ({ isMobile, customerIcon, title, // icon, // icon_background, onCreateNewChat, }) => { const { t } = useTranslation() if (!isMobile) return null return (
{customerIcon}
{title}
{ onCreateNewChat?.() }}>
) } export default React.memo(Header)