25 lines
524 B
JavaScript
Executable File
25 lines
524 B
JavaScript
Executable File
import React, { Component, PropTypes } from 'react';
|
|
import { createContainer } from 'meteor/react-meteor-data';
|
|
import Audio from './component';
|
|
import { joinListenOnly } from '/imports/api/phone';
|
|
|
|
export default class AudioModalContainer extends Component {
|
|
constructor(props) {
|
|
super(props);
|
|
}
|
|
|
|
render() {
|
|
|
|
let handleJoinListenOnly = () => {
|
|
return joinListenOnly();
|
|
};
|
|
|
|
return (
|
|
|
|
<Audio
|
|
handleJoinListenOnly={handleJoinListenOnly}
|
|
/>
|
|
);
|
|
}
|
|
}
|