2019-03-16 04:07:14 +08:00
|
|
|
import { Session } from 'meteor/session';
|
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
|
|
import BannerComponent from './component';
|
|
|
|
|
|
|
|
export default withTracker(() => ({
|
2019-03-19 02:10:27 +08:00
|
|
|
color: Session.get('bannerColor') || '#0F70D7',
|
|
|
|
text: Session.get('bannerText') || '',
|
2019-03-16 04:07:14 +08:00
|
|
|
}))(BannerComponent);
|