import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styles from './styles.scss'; import Button from '/imports/ui/components/button/component'; import classNames from 'classnames'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; const intlMessages = defineMessages({ previousSlideLabel: { id: 'app.presentation.presentationToolbar.prevSlideLabel', description: 'Previous slide button label', }, nextSlideLabel: { id: 'app.presentation.presentationToolbar.nextSlideLabel', description: 'Next slide button label', }, }); class PresentationToolbar extends Component { constructor(props) { super(props); this.state = { sliderValue: 100 }; this.handleValuesChange = this.handleValuesChange.bind(this); } handleValuesChange(event) { this.setState({ sliderValue: event.target.value }); } fitToWidthClickHandler() { console.log('Not implemented yet'); } fitToScreenClickHandler() { console.log('Not implemented yet'); } renderSkipSlideOpts(numberOfSlides) { // Fill drop down menu with all the slides in presentation const optionList = []; for (i = 1; i <= numberOfSlides; i++) { optionList.push( , ); } return optionList; } render() { const { currentSlideNum, numberOfSlides, actions, intl, } = this.props; return (