Enhance sidebar toggle button #3
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ function useSidebarVisibility() {
 | 
			
		|||
  return { sidebarVisibility, toggleSidebarVisibility, sidebarToggleText }
 | 
			
		||||
}
 | 
			
		||||
const getSidebarToggleText = (sidebarVisibility: sidebarVisibilityOptions) => {
 | 
			
		||||
  if (sidebarVisibility === 'full') return '<-'
 | 
			
		||||
  if (sidebarVisibility === 'full') return '<--'
 | 
			
		||||
  if (sidebarVisibility === 'small') return '<-'
 | 
			
		||||
  if (sidebarVisibility === 'hidden') return '->'
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue