mattermost-mobile/app/components/interactive_dialog_controller/index.js
Joram Wilander e431bd36c4
MM-12845 Add widgets and interactive dialogs (#2353)
* Add widgets and interactive dialogs

* Update snapshots

* Updates per feedback and fix slash command

* Fix style

* Update styling

* Updates per feedback

* Updates per feedback

* More styling changes

* Remove extra space above message menu
2018-11-23 12:30:12 -05:00

15 lines
476 B
JavaScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {connect} from 'react-redux';
import InteractiveDialogController from './interactive_dialog_controller';
function mapStateToProps(state) {
return {
triggerId: state.entities.integrations.dialogTriggerId,
dialog: state.entities.integrations.dialog || {},
};
}
export default connect(mapStateToProps)(InteractiveDialogController);