import React, { Component } from 'react' // import { Link } from 'react-router-dom' import { connect } from 'react-redux' import actions from 'app/actions' import { ROMAN_NUMERALS } from 'app/constants' import { Arrow, VolumeControl, PlayButton, PlayerTime } from './viewer.icons' class ViewerNav extends Component { componentDidMount() { } render() { const { viewer } = this.props return (
actions.viewer.toggleSection('nav')}> {ROMAN_NUMERALS[0]} {'. '} {'Introduction'}
Next
) } } const mapStateToProps = state => ({ viewer: state.viewer, }) export default connect(mapStateToProps)(ViewerNav) /* - section name, number - next link - player */