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

12 lines
406 B
React
Raw Normal View History

import React from 'react';
2021-09-11 04:48:52 +08:00
import { layoutSelectOutput } from '../../layout/context';
2021-06-09 21:49:59 +08:00
import PresentationArea from './component';
const PresentationAreaContainer = ({ presentationIsOpen, darkTheme }) => {
2021-09-11 04:48:52 +08:00
const presentation = layoutSelectOutput((i) => i.presentation);
2021-06-09 21:49:59 +08:00
return <PresentationArea {...{ ...presentation, presentationIsOpen, darkTheme }} />;
2021-06-09 21:49:59 +08:00
};
export default PresentationAreaContainer;