* Babel TS and Eslint config * Channel is archived component * Move Typing component * Move Uploads component * Add PostInput component * QuickActions components * Add PostDraft component * Remove old PostTextbox component * Rename post_textbox constant * Fix Autocomplete * Rename blur post draft event * Fix references * Feedback review * Fix autocomplete for iOS
18 lines
564 B
JavaScript
18 lines
564 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {connect} from 'react-redux';
|
|
|
|
import {handlePostDraftChanged} from '@actions/views/channel';
|
|
import {handleCommentDraftChanged} from '@actions/views/thread';
|
|
import {userTyping} from '@actions/views/typing';
|
|
|
|
import PostInput from './post_input';
|
|
|
|
const mapDispatchToProps = {
|
|
handleCommentDraftChanged,
|
|
handlePostDraftChanged,
|
|
userTyping,
|
|
};
|
|
|
|
export default connect(null, mapDispatchToProps, null, {forwardRef: true})(PostInput);
|