* Ensuring quick reactions render within safe area * Added modifier to align paddings * Updating snapshots
19 lines
635 B
JavaScript
19 lines
635 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {connect} from 'react-redux';
|
|
import {getTheme} from '@mm-redux/selectors/entities/preferences';
|
|
import {getDimensions, isLandscape} from 'app/selectors/device';
|
|
import ReactionPicker from './reaction_picker';
|
|
|
|
function mapStateToProps(state) {
|
|
const {deviceWidth} = getDimensions(state);
|
|
return {
|
|
theme: getTheme(state),
|
|
recentEmojis: state.views.recentEmojis,
|
|
deviceWidth,
|
|
isLandscape: isLandscape(state),
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(ReactionPicker);
|