bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/note/container.jsx
2019-01-09 18:06:23 +00:00

23 lines
449 B
JavaScript

import React, { PureComponent } from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import Note from './component';
import NoteService from './service';
class NoteContainer extends PureComponent {
render() {
return (
<Note {...this.props}>
{this.props.children}
</Note>
);
}
}
export default withTracker(() => {
const url = NoteService.getNoteURL();
return {
url,
};
})(NoteContainer);