import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import classnames from 'classnames'
import _ from 'lodash'
NavAction.propTypes = {
icon: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
onClick: PropTypes.func.isRequired,
}
export function NavAction({ icon, title, onClick }) {
return (
{
event.preventDefault()
onClick(event)
}}>
)
}
Nav.propTypes = {
active: PropTypes.string.isRequired,
tabs: PropTypes.array.isRequired,
onSelectTab: PropTypes.func.isRequired,
}
export default function Nav({ active, tabs, onSelectTab }) {
return (
)
}