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';
|
2016-05-20 21:46:30 +08:00
|
|
|
import ActionsBar from './component';
|
2016-11-08 02:19:00 +08:00
|
|
|
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);
|