Rename icon, add shrink expand icons to card header.
This commit is contained in:
1 parent
9d50e9a165
commit
bfe2877d0b
2 files changed
+7
No files matched your search
@@ -6,6 +6,9 @@ import Draggable from 'react-draggable';
|
||||
|
||||
import styles from './card.css';
|
||||
|
||||
import shrinkIcon from './icon--shrink.svg';
|
||||
import expandIcon from './icon--expand.svg';
|
||||
|
||||
import rightArrow from './icon--next.svg';
|
||||
import leftArrow from './icon--prev.svg';
|
||||
|
||||
@@ -47,6 +50,10 @@ const CardHeader = ({onCloseCards, onToggleCards, onShowAll, totalSteps, step, t
|
||||
className={styles.toggleButton}
|
||||
onClick={onToggleCards}
|
||||
>
|
||||
<img
|
||||
draggable={false}
|
||||
src={toggle ? shrinkIcon : expandIcon}
|
||||
/>
|
||||
{toggle ? 'Shrink' : 'Expand'}
|
||||
</div>
|
||||
<div
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user