bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/smart-video-share/container.jsx
2022-11-02 14:54:57 +00:00

22 lines
529 B
JavaScript

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);