2017-03-28 22:02:23 +08:00
|
|
|
import React, { Component } from 'react';
|
2017-01-11 07:14:23 +08:00
|
|
|
import { createContainer } from 'meteor/react-meteor-data';
|
|
|
|
import Audio from './component';
|
2017-03-28 22:02:23 +08:00
|
|
|
import { joinListenOnly } from '../service';
|
2017-01-11 07:14:23 +08:00
|
|
|
|
|
|
|
export default class AudioModalContainer extends Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
|
|
|
let handleJoinListenOnly = () => {
|
|
|
|
return joinListenOnly();
|
|
|
|
};
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<Audio
|
|
|
|
handleJoinListenOnly={handleJoinListenOnly}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|