Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

chakra ui menu open on hover

import { useDisclosure, Menu, MenuButton, MenuList, MenuItem } from '@chakra-ui/react'
export default function Navbar(){
  return (
             <Menu isOpen={isOpen}>
                <MenuButton onMouseEnter={onOpen} onMouseLeave={onClose}>
                  <span className="mr-1">
                    CAREER
                  </span>
                </MenuButton>

                <MenuList className="drop" onMouseEnter={onOpen} onMouseLeave={onClose}>
                  <MenuItem className="menu_item hover:opacity-60 hover:text-black ">
                    <Link href="/join-our-team">
                      <a className={` ${pathname == '/join-our-team' ? 'opacity-60 text-white scale-110 ml-1' : ''}`}>JOIN OUR TEAM</a>
                    </Link>
                  </MenuItem>
                  <MenuItem className="menu_item hover:opacity-60 hover:text-black ">
                    <Link href="/life-at-sirocco">
                      <a className={`z-[1000]  ${pathname == '/life-at-sirocco' ? 'opacity-60 text-white scale-110 ml-1' : ''}`}>LIFE AT SIROCCO</a>
                    </Link>
                  </MenuItem>
                </MenuList>
              </Menu>
  )
  
}  
Comment

PREVIOUS NEXT
Code Example
Typescript :: typescript string concatenation best practice 
Typescript :: nodejs stream write file 
Typescript :: onSubmit for form in antd 
Typescript :: padding entre les elements css 
Typescript :: import ts in html 
Typescript :: stackoverflow ngbdate angular 
Typescript :: mongodb move documents to another collection 
Typescript :: using typescript with vue 
Typescript :: typescript array contains string 
Typescript :: dart create list from object properties 
Typescript :: git merge all previous commits on a branch 
Typescript :: typescript vue html css types 
Typescript :: ts builder pattern 
Typescript :: delete array typescript 
Typescript :: nuxt 3 nuxtServerInit 
Typescript :: removing directory and its content bash linux 
Typescript :: across tab localstorage 
Typescript :: fetch tweets 
Typescript :: Can only use lower 16 bits for requestCode registerForActivityResult 
Typescript :: ts new map literal 
Typescript :: how to get an object from array of objects in java 
Typescript :: Route.component does not have any construct or call signatures - React Router with TypeScript 
Typescript :: python threading takes 2 positional arguments but 29 were given 
Typescript :: What types of Collections/Data structures you have used 
Typescript :: output products from collection 
Typescript :: add padding between elements of lazyrow jetpack compose 
Typescript :: inherit with filter typescript 
Typescript :: whats updog 
Typescript :: hhow to remove elements from java 
Typescript :: Do you use data structures in your current automation project 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =