16 lines
582 B
JavaScript
Executable File
16 lines
582 B
JavaScript
Executable File
import React from 'react';
|
|
import { createContainer } from 'meteor/react-meteor-data';
|
|
import WhiteboardToolbarService from './service';
|
|
import WhiteboardToolbar from './component';
|
|
|
|
const WhiteboardToolbarContainer = ({ ...props }) => (
|
|
<WhiteboardToolbar {...props} />
|
|
);
|
|
|
|
export default createContainer(() => ({
|
|
actions: WhiteboardToolbarService.actions,
|
|
textShapeActiveId: WhiteboardToolbarService.getTextShapeActiveId(),
|
|
multiUser: WhiteboardToolbarService.getMultiUserStatus(),
|
|
isPresenter: WhiteboardToolbarService.isPresenter(),
|
|
}), WhiteboardToolbarContainer);
|