import React from 'react' import Divider from '@/app/components/base/divider' import Button from '@/app/components/base/button' import { RiBookOpenLine, RiEqualizer2Line } from '@remixicon/react' import type { CredentialSelectorProps } from './credential-selector' import CredentialSelector from './credential-selector' import Tooltip from '@/app/components/base/tooltip' import { useTranslation } from 'react-i18next' type HeaderProps = { docTitle: string docLink: string onClickConfiguration?: () => void } & CredentialSelectorProps const Header = ({ docTitle, docLink, onClickConfiguration, ...rest }: HeaderProps) => { const { t } = useTranslation() return (
) } export default React.memo(Header)