We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5d6223 + ff0cadf commit edbaebeCopy full SHA for edbaebe
src/components/TopNav/PrimaryNav.js
@@ -4,6 +4,7 @@ import cn from 'classnames'
4
import ResizeDetector from 'react-resize-detector'
5
import ChosenArrow from '../ChosenArrow'
6
import IconArrowSmalldown from '../../assets/images/arrow-small-down.svg'
7
+import IconArrowSmallup from '../../assets/images/arrow-small-up.svg'
8
import styles from './PrimaryNav.module.scss'
9
10
const PrimaryNav = ({
@@ -81,7 +82,8 @@ const PrimaryNav = ({
81
82
>
83
<div className={styles.moreBtnMask} />
84
<span>More</span>
- <IconArrowSmalldown />
85
+ {openMore && <IconArrowSmallup />}
86
+ {!openMore && <IconArrowSmalldown />}
87
</button>
88
<div className={styles.moreContentContainer}>
89
{moreMenu.map((menu, i) => (
0 commit comments