mattermost-mobile/app/components/show_more_button/index.js
Saturnino Abril fd99e0489c [MM-11928] Fix styling of show more/less on message attachment similar to "long post" (#2070)
* fix styling of show more/less on message attachment similar to "long post"

* change top margin from 0 to 10 of "Show Less" button
2018-09-04 11:52:45 -03:00

16 lines
422 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 'mattermost-redux/selectors/entities/preferences';
import ShowMoreButton from './show_more_button';
function mapStateToProps(state) {
return {
theme: getTheme(state),
};
}
export default connect(mapStateToProps)(ShowMoreButton);