Last active
November 13, 2023 20:00
-
-
Save YasirGaji/b5d32bbd7c1bfa17f0ef87c3b8048ac7 to your computer and use it in GitHub Desktop.
Unordered List in JSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const LeftSidebar = () => { | |
return ( | |
<nav className='leftsidebar'> | |
<ul className='flex flex-col gap-6'> | |
<li> | |
<NavLink to="/">Home</NavLink> | |
</li> | |
<li> | |
<NavLink to="/settings">Settings</NavLink> | |
</li> | |
<li> | |
<NavLink to="/profile">Profile</NavLink> | |
</li> | |
</ul> | |
</nav> | |
) | |
} | |
export default LeftSidebar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment