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

15 lines
484 B
React
Raw Normal View History

2021-06-09 21:49:59 +08:00
import React, { useContext } from 'react';
import { NLayoutContext } from '../../layout/context/context';
import PresentationArea from './component';
const PresentationAreaContainer = () => {
const NewLayoutManager = useContext(NLayoutContext);
const { newLayoutContextState } = NewLayoutManager;
const { output } = newLayoutContextState;
const { presentation } = output;
return <PresentationArea {...{ ...presentation }} />;
};
export default PresentationAreaContainer;