jiti-meet/react/features/remote-video-menu/components/native/MuteButton.js

15 lines
536 B
JavaScript
Raw Normal View History

2018-12-19 18:40:17 +00:00
// @flow
import { translate } from '../../../base/i18n';
2019-03-21 16:38:29 +00:00
import { connect } from '../../../base/redux';
2018-12-19 18:40:17 +00:00
2019-01-05 16:49:21 +00:00
import AbstractMuteButton, { _mapStateToProps } from '../AbstractMuteButton';
2018-12-19 18:40:17 +00:00
/**
2019-01-05 16:49:21 +00:00
* We don't need any further implementation for this on mobile, but we keep it
* here for clarity and consistency with web. Once web uses the
* {@code AbstractButton} base class, we can remove all these and just use
* the {@code AbstractMuteButton} as {@MuteButton}.
2018-12-19 18:40:17 +00:00
*/
2019-01-05 16:49:21 +00:00
export default translate(connect(_mapStateToProps)(AbstractMuteButton));