expand icon simplified

This commit is contained in:
Jan Prochazka
2021-03-01 18:26:01 +01:00
parent 565a60e638
commit a4387155e7
7 changed files with 44 additions and 39 deletions

View 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';
}