Adds message forwarding

This commit is contained in:
Josh Perez
2021-04-27 15:35:35 -07:00
committed by GitHub
parent cd489a35fd
commit d203f125c6
42 changed files with 1638 additions and 139 deletions

View File

@@ -0,0 +1,21 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import { Provider } from 'react-redux';
import { Store } from 'redux';
import {
SmartForwardMessageModal,
SmartForwardMessageModalProps,
} from '../smart/ForwardMessageModal';
export const createForwardMessageModal = (
store: Store,
props: SmartForwardMessageModalProps
): React.ReactElement => (
<Provider store={store}>
<SmartForwardMessageModal {...props} />
</Provider>
);