Skip to content

Commit 54e3fdd

Browse files
Add active style to NavLink
1 parent 84abb76 commit 54e3fdd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/navigation/Navbar.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ const NavLink = ({ children, ...props }: LinkProps) => {
3737
color: theme.palette.secondary.main,
3838
borderBottom: "solid 4px",
3939
},
40+
"&.active": {
41+
color: theme.palette.secondary.main,
42+
},
4043
textDecoration: "none",
4144
alignItems: "center",
4245
display: "flex",

0 commit comments

Comments
 (0)