import React, { Component } from 'react' // import { Link } from 'react-router-dom' // import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import actions from 'app/actions' import ParagraphList from 'app/views/paragraph/components/paragraph.list' import { transcriptElementLookup } from '../transcript/components' class PlayerTranscript extends Component { constructor(props){ super(props) this.handleClose = this.handleClose.bind(this) this.handleAnnotationClick = this.handleAnnotationClick.bind(this) this.handleParagraphDoubleClick = this.handleParagraphDoubleClick.bind(this) } handleAnnotationClick(e, paragraph, annotation) { console.log(annotation) actions.audio.seek(annotation.start_ts) } handleParagraphDoubleClick(e, paragraph) { } handleClose() { } render() { const { paragraphs } = this.props.section return (
) } } const mapStateToProps = state => ({ // viewer: state.viewer, }) const mapDispatchToProps = dispatch => ({ // uploadActions: bindActionCreators({ ...uploadActions }, dispatch), }) export default connect(mapStateToProps, mapDispatchToProps)(PlayerTranscript)