Summary Adds an avatar list component. It is required for the new collapsed reply threads feature. The feature design is at https://www.figma.com/file/t2KIwZnxb7h94249k6XdOp/MM-18107-Mobile-Threads-Overhaul and https://mattermost.atlassian.net/wiki/spaces/Threads/pages/1003945985/Mobile+User+Experience Ticket Link https://mattermost.atlassian.net/browse/MM-29104
15 lines
459 B
TypeScript
15 lines
459 B
TypeScript
// 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 Avatars from './avatars';
|
|
import type {GlobalState} from '@mm-redux/types/store';
|
|
|
|
function mapStateToProps(state: GlobalState) {
|
|
return {
|
|
theme: getTheme(state),
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(Avatars);
|