import React from 'react';
import PropTypes from 'prop-types';
import CSSTransitionGroup from 'react-transition-group/CSSTransitionGroup';
import PollingContainer from '/imports/ui/components/polling/container';
import AnnotationGroupContainer from '../whiteboard/annotation-group/container';
import Cursor from './cursor/component';
import PresentationToolbarContainer from './presentation-toolbar/container';
import Slide from './slide/component';
import styles from './styles.scss';
export default class PresentationArea extends React.Component {
constructor(props) {
super(props);
}
renderPresentationArea() {
let slideObj = this.props.currentSlide;
if (this.props.currentSlide) {
slideObj = this.props.currentSlide;
const x = -slideObj.xOffset * 2 * slideObj.width / 100;
const y = -slideObj.yOffset * 2 * slideObj.height / 100;
const viewBoxWidth = slideObj.width * slideObj.widthRatio / 100;
const viewBoxHeight = slideObj.height * slideObj.heightRatio / 100;
return (