import React, { type FC, type PropsWithChildren } from 'react'; import { Box, Container, Stack, Show, useColorModeValue } from '@chakra-ui/react'; import ThemeSwitch from 'dumi/theme/slots/ThemeSwitch'; import Social from '../../components/Social'; import LangSwitch from 'dumi/theme/slots/LangSwitch'; import Logo from 'dumi/theme/slots/Logo'; import SearchBar from 'dumi/theme/slots/SearchBar'; const Header: FC = ({ children }) => { const bg = useColorModeValue('whiteAlpha.800', 'gray.800'); return ( {children} ); }; export default Header;