bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/layout/layout-manager/container.jsx

13 lines
479 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
2021-04-20 03:53:42 +08:00
import { isVideoBroadcasting } from '/imports/ui/components/screenshare/service';
import LayoutManagerComponent from '/imports/ui/components/layout/layout-manager/component';
2021-05-18 04:25:07 +08:00
const LayoutManagerContainer = ({ screenIsShared }) => (
<LayoutManagerComponent {...{ screenIsShared }} />
);
2021-05-18 04:25:07 +08:00
export default withTracker(() => ({
screenIsShared: isVideoBroadcasting(),
}))(LayoutManagerContainer);