import { Link } from 'react-router-dom' import { Navbar } from 'react-bootstrap' import BackButton from '../assets/backArrow.svg' import { PropsWithChildren } from 'react' type BackHeaderProps = { text: string } function BackHeader({ text, children }: PropsWithChildren) { return ( Назад

{text}

{children}
) } export default BackHeader