feat(directory): add color to fast navigation

This commit is contained in:
Haoyu Xu
2023-06-24 06:32:47 -04:00
parent b0a46ac838
commit 1fc288f903
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 ? (