bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-area/component.jsx
2023-06-28 16:06:19 -03:00

29 lines
711 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import PresentationPodsContainer from '../../presentation-pod/container';
const PresentationArea = ({
width,
height,
presentationIsOpen,
darkTheme,
layoutType,
}) => {
const presentationAreaSize = {
presentationAreaWidth: width,
presentationAreaHeight: height,
};
return (
<PresentationPodsContainer {...{ presentationAreaSize, presentationIsOpen, darkTheme, layoutType }} />
);
};
export default PresentationArea;
PresentationArea.propTypes = {
width: PropTypes.number.isRequired,
height: PropTypes.number.isRequired,
presentationIsOpen: PropTypes.bool.isRequired,
darkTheme: PropTypes.bool.isRequired,
};