mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #24030 from overleaf/td-bs5-remove-font-awesome
Remove Font Awesome in BS5 GitOrigin-RevId: 3ee9b136ac9ecda57ba9985d1da7d7a7e6b275e6
This commit is contained in:
+11
-1
@@ -1,5 +1,6 @@
|
||||
import classNames from 'classnames'
|
||||
import OLTooltip from '@/features/ui/components/ol/ol-tooltip'
|
||||
import MaterialIcon from '@/shared/components/material-icon'
|
||||
|
||||
type HorizontalTogglerType = 'west' | 'east'
|
||||
|
||||
@@ -42,7 +43,16 @@ export function HorizontalToggler({
|
||||
aria-label={description}
|
||||
title=""
|
||||
onClick={() => setIsOpen(!isOpen)}
|
||||
/>
|
||||
>
|
||||
<MaterialIcon
|
||||
type={
|
||||
(togglerType === 'west' && isOpen) ||
|
||||
(togglerType === 'east' && !isOpen)
|
||||
? 'chevron_left'
|
||||
: 'chevron_right'
|
||||
}
|
||||
/>
|
||||
</button>
|
||||
</OLTooltip>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user