bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-area/container.jsx
2021-08-05 08:03:24 -03:00

15 lines
458 B
JavaScript

import React, { useContext } from 'react';
import LayoutContext from '../../layout/context';
import PresentationArea from './component';
const PresentationAreaContainer = () => {
const layoutManager = useContext(LayoutContext);
const { layoutContextState } = layoutManager;
const { output } = layoutContextState;
const { presentation } = output;
return <PresentationArea {...{ ...presentation }} />;
};
export default PresentationAreaContainer;