import React, { Component } from 'react' // import { Link } from 'react-router-dom' import { connect } from 'react-redux' import actions from 'app/actions' import { Arrow } from '../nav/viewer.icons' class ViewerSectionsNav extends Component { render() { const { viewer } = this.props return (
{'Share'}
actions.viewer.toggleSection('checklist')}> {'Checklist'}
{ actions.viewer.hideSection('checklist') actions.viewer.toggleSection('transcript') }}> {'Transcript'}
) } } const mapStateToProps = state => ({ viewer: state.viewer, }) export default connect(mapStateToProps)(ViewerSectionsNav)