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