bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/cursors/container.jsx

18 lines
532 B
React
Raw Normal View History

2022-04-05 22:49:13 +08:00
import { withTracker } from "meteor/react-meteor-data";
import React from "react";
import Auth from "/imports/ui/services/auth";
import Cursors from "./component";
import Service from "./service";
const CursorsContainer = (props) => {
return <Cursors {...props} publishCursorUpdate={props.publishCursorUpdate}/>
};
export default withTracker(({ currentUser, publishCursorUpdate }) => {
return {
currentUser,
publishCursorUpdate,
otherCursors: Service.getCursorCur(),
};
})(CursorsContainer);