bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/cursors/container.jsx
2022-06-02 15:00:28 +00:00

21 lines
591 B
JavaScript

import { withTracker } from "meteor/react-meteor-data";
import React from "react";
import Cursors from "./component";
import Service from "./service";
const CursorsContainer = (props) => {
return <Cursors {...props}/>
};
export default
withTracker((params) => {
return {
currentUser: params.currentUser,
publishCursorUpdate: Service.publishCursorUpdate,
otherCursors: Service.getCurrentCursors(params.whiteboardId),
tldrawAPI: params.tldrawAPI,
isViewersCursorLocked: params.isViewersCursorLocked,
};
})(CursorsContainer)
;