bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/enter-audio/component.jsx
2017-02-17 13:44:17 -05:00

36 lines
782 B
JavaScript
Executable File

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