User Account Dropdown Menu With React Hooks And CSS | Detect Outside Click | Get User's Initials

Опубликовано: 22 Февраль 2024
на канале: JS Solutions
242
3

In this video, I have shown how you can create a custom user account dropdown menu using react hooks and css, the dropdown will be closed when click outside of it. I will also show you how you can get the user's initials from the user's full name

For Example: Hamza Anwar = HA, Hamza = H

Buy me a coffee: https://www.buymeacoffee.com/anwarhamzat