bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/smart-video-share/container.jsx

22 lines
529 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { SmartMediaShare } from './component';
import { layoutSelect } from '/imports/ui/components/layout/context';
import { isMobile } from '/imports/ui/components/layout/utils';
const SmartMediaShareContainer = (props) => (
<SmartMediaShare {...{
...props,
}}
/>
);
export default withTracker(() => {
const isRTL = layoutSelect((i) => i.isRTL);
return {
isRTL,
isMobile: isMobile(),
};
})(SmartMediaShareContainer);