bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-area/component.jsx

29 lines
711 B
React
Raw Normal View History

2021-06-09 21:49:59 +08:00
import React from 'react';
import PropTypes from 'prop-types';
2021-06-09 21:49:59 +08:00
import PresentationPodsContainer from '../../presentation-pod/container';
const PresentationArea = ({
width,
height,
presentationIsOpen,
darkTheme,
2023-06-29 03:06:19 +08:00
layoutType,
2021-06-09 21:49:59 +08:00
}) => {
const presentationAreaSize = {
presentationAreaWidth: width,
presentationAreaHeight: height,
};
return (
2023-06-29 03:06:19 +08:00
<PresentationPodsContainer {...{ presentationAreaSize, presentationIsOpen, darkTheme, layoutType }} />
2021-06-09 21:49:59 +08:00
);
};
export default PresentationArea;
PresentationArea.propTypes = {
width: PropTypes.number.isRequired,
height: PropTypes.number.isRequired,
presentationIsOpen: PropTypes.bool.isRequired,
darkTheme: PropTypes.bool.isRequired,
};