show different NavbarItems depending on device width

This commit is contained in:
Aria Moradi
2021-10-30 16:34:09 +03:30
parent 78f70a38be
commit a30ddcf811
3 changed files with 29 additions and 5 deletions

1
src/typings.d.ts vendored
View File

@@ -197,4 +197,5 @@ interface NavbarItem{
path: string,
title:string,
IconComponent: OverridableComponent<SvgIconTypeMap<{}, 'svg'>>,
show: 'mobile' | 'desktop' | 'both'
}