bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/enter-audio/component.jsx

34 lines
705 B
React
Raw Normal View History

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 (
2017-03-28 22:02:23 +08:00
<Button
label={intl.formatMessage(intlMessages.enterSessionLabel)}
size={'md'}
color={'primary'}
onClick={this.props.handleJoin}
/>
);
}
2017-06-03 03:25:02 +08:00
}
const intlMessages = defineMessages({
enterSessionLabel: {
id: 'app.audio.enterSessionLabel',
2017-04-10 23:50:03 +08:00
description: 'enter session button label',
},
});
export default injectIntl(EnterAudio);