feat(directory): add color to fast navigation

This commit is contained in:
Haoyu Xu
2023-06-24 06:32:47 -04:00
parent 769ab8121d
commit 43ded2301c
4 changed files with 16 additions and 8 deletions

View File

@@ -55,6 +55,7 @@ export default function Dropdown(props) {
props.onClick(item)
toggleDropdown()
}}
style={item.color ? { color: item.color } : {}}
>
{
item.icon ? (