Rename icon, add shrink expand icons to card header.

This commit is contained in:
Evelyn Eastmond committed 2019-05-07 11:42:40 -04:00
1 parent 9d50e9a165
commit bfe2877d0b
2 files changed
+7

No files matched your search

+7
View File
@@ -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.