import type { FC, PropsWithChildren } from 'react'; import { useLocation } from 'react-router-dom'; import { useDefaultElementId } from '../../hooks'; import { ElementId, createElementId, stickyHeaderRoutes } from '../../utils'; import { Container } from './Header.style'; import { NavigationHeader } from './NavigationHeader'; import { WalletHeader } from './WalletHeader'; export const HeaderContainer: FC> = ({ children }) => { const { pathname } = useLocation(); const elementId = useDefaultElementId(); return ( pathname.includes(route))} > {children} ); }; export const Header: FC = () => { return ( ); };