Compare commits
2 Commits
e21ca799d6
...
bf48a8d4cc
Author | SHA1 | Date |
---|---|---|
qvalentin | bf48a8d4cc | |
nf3lix | 5d70be142d |
|
@ -20,7 +20,7 @@ function useSidebarVisibility() {
|
||||||
return { sidebarVisibility, toggleSidebarVisibility, sidebarToggleText }
|
return { sidebarVisibility, toggleSidebarVisibility, sidebarToggleText }
|
||||||
}
|
}
|
||||||
const getSidebarToggleText = (sidebarVisibility: sidebarVisibilityOptions) => {
|
const getSidebarToggleText = (sidebarVisibility: sidebarVisibilityOptions) => {
|
||||||
if (sidebarVisibility === 'full') return '<-'
|
if (sidebarVisibility === 'full') return '<--'
|
||||||
if (sidebarVisibility === 'small') return '<-'
|
if (sidebarVisibility === 'small') return '<-'
|
||||||
if (sidebarVisibility === 'hidden') return '->'
|
if (sidebarVisibility === 'hidden') return '->'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue