import { GridItem, HStack, IconButton, Image, useColorModeValue, Menu, MenuItem, MenuButton, MenuList, Box, Spacer, Flex, } from '@chakra-ui/react' import LogoLight from '../../logos/logo-light.svg' import LogoDark from '../../logos/logo-dark.svg' import { CgMenu } from 'react-icons/cg' import { navIcons } from '../header/NavIcons' import { SearchInputs } from './SearchInputs' //Tool tip content to use const toolTipInOut = { heading: `What was that method? Let's find it!`, content: `Sometimes you know a method exists but not what it's called. Use this to find all the methods that match an expected input and output!`, } const toolTipName = { heading: `Looking for a specific method?`, content: `Search for methods by name or description.`, } export let PageHeader = ({ search, input, output, page, dispatch, responsive, }) => ( <> dispatch({ page: 'home' })} cursor="pointer"> {page === 'docs' && ( )} } variant="ghost" marginTop={0} px={0} mx={0} width="100%" display={responsive.nav.showHamburgerMenu} /> {navIcons({ page, dispatch, responsive })} {navIcons({ page, dispatch, responsive })} )