36 lines
731 B
JavaScript
Executable File
36 lines
731 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 (
|
|
<div>
|
|
<Button
|
|
label={intl.formatMessage(intlMessages.enterSessionLabel)}
|
|
size={'md'}
|
|
color={'primary'}
|
|
onClick={this.props.handleJoin}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|
|
};
|
|
|
|
const intlMessages = defineMessages({
|
|
enterSessionLabel: {
|
|
id: 'app.audio.enterSessionLabel',
|
|
description: 'enter session button label',
|
|
},
|
|
});
|
|
|
|
export default injectIntl(EnterAudio);
|