fancy icon based on if path selected

This commit is contained in:
Aria Moradi
2021-10-30 17:29:27 +03:30
parent a2081a4552
commit 1eccc28097
4 changed files with 42 additions and 13 deletions

3
src/typings.d.ts vendored
View File

@@ -193,9 +193,10 @@ interface SourcePreferences {
props: any
}
interface NavbarItem{
interface NavbarItem {
path: string,
title:string,
SelectedIconComponent: OverridableComponent<SvgIconTypeMap<{}, 'svg'>>,
IconComponent: OverridableComponent<SvgIconTypeMap<{}, 'svg'>>,
show: 'mobile' | 'desktop' | 'both'
}