bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-overlay/container.jsx
Oleksandr Zhurbenko 251bd22738 PR review fixes
2017-09-06 12:36:52 -07:00

24 lines
647 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import { createContainer } from 'meteor/react-meteor-data';
import PresentationOverlayService from './service';
import PresentationOverlay from './component';
const PresentationOverlayContainer = ({ children, ...rest }) => (
<PresentationOverlay {...rest}>
{children}
</PresentationOverlay>
);
export default createContainer(() => ({
updateCursor: PresentationOverlayService.updateCursor,
}), PresentationOverlayContainer);
PresentationOverlayContainer.propTypes = {
children: PropTypes.node,
};
PresentationOverlayContainer.defaultProps = {
children: undefined,
};