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

15 lines
458 B
React
Raw Normal View History

2021-06-09 21:49:59 +08:00
import React, { useContext } from 'react';
2021-08-05 19:03:24 +08:00
import LayoutContext from '../../layout/context';
2021-06-09 21:49:59 +08:00
import PresentationArea from './component';
const PresentationAreaContainer = () => {
2021-08-05 19:03:24 +08:00
const layoutManager = useContext(LayoutContext);
const { layoutContextState } = layoutManager;
const { output } = layoutContextState;
2021-06-09 21:49:59 +08:00
const { presentation } = output;
return <PresentationArea {...{ ...presentation }} />;
};
export default PresentationAreaContainer;