bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/actions-bar/container.jsx

14 lines
449 B
React
Raw Normal View History

2017-10-06 20:50:01 +08:00
import React from 'react';
2016-04-29 03:02:51 +08:00
import { createContainer } from 'meteor/react-meteor-data';
import ActionsBar from './component';
import Service from './service';
2017-05-02 03:52:57 +08:00
2017-11-24 01:20:27 +08:00
const ActionsBarContainer = props => <ActionsBar {...props} />;
2016-04-29 03:02:51 +08:00
2017-11-24 01:20:27 +08:00
export default createContainer(() => ({
isUserPresenter: Service.isUserPresenter(),
emojiList: Service.getEmojiList(),
emojiSelected: Service.getEmoji(),
handleEmojiChange: Service.setEmoji,
}), ActionsBarContainer);