bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/enter-audio/component.jsx
2017-07-06 08:54:18 -07:00

34 lines
705 B
JavaScript
Executable File

import React from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import Button from '/imports/ui/components/button/component';
class EnterAudio extends React.Component {
constructor(props) {
super(props);
}
render() {
const {
intl,
} = this.props;
return (
<Button
label={intl.formatMessage(intlMessages.enterSessionLabel)}
size={'md'}
color={'primary'}
onClick={this.props.handleJoin}
/>
);
}
}
const intlMessages = defineMessages({
enterSessionLabel: {
id: 'app.audio.enterSessionLabel',
description: 'enter session button label',
},
});
export default injectIntl(EnterAudio);