mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 11:45:59 +00:00
expand icon simplified
This commit is contained in:
7
packages/web/src/icons/expandIcons.ts
Normal file
7
packages/web/src/icons/expandIcons.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export function plusExpandIcon(isExpanded) {
|
||||
return isExpanded ? 'icon minus-box' : 'icon plus-box';
|
||||
}
|
||||
|
||||
export function chevronExpandIcon(isExpanded) {
|
||||
return isExpanded ? 'icon chevron-down' : 'icon chevron-right';
|
||||
}
|
||||
Reference in New Issue
Block a user