You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
440 B
20 lines
440 B
7 years ago
|
import React from 'react'
|
||
|
import PropTypes from 'prop-types'
|
||
|
import FaAngleRight from 'react-icons/lib/fa/angle-right'
|
||
|
import styles from './Menu.scss'
|
||
|
|
||
7 years ago
|
const Menu = ({ setActiveSubMenu }) => (
|
||
|
<ul>
|
||
|
<li className={styles.fiat} onClick={() => setActiveSubMenu('fiat')}>
|
||
|
<span>Fiat Currency</span>
|
||
|
<FaAngleRight />
|
||
|
</li>
|
||
|
</ul>
|
||
|
)
|
||
7 years ago
|
|
||
|
Menu.propTypes = {
|
||
|
setActiveSubMenu: PropTypes.func.isRequired
|
||
|
}
|
||
|
|
||
|
export default Menu
|