Adds message forwarding
This commit is contained in:
parent
cd489a35fd
commit
d203f125c6
42 changed files with 1638 additions and 139 deletions
21
ts/state/roots/createForwardMessageModal.tsx
Normal file
21
ts/state/roots/createForwardMessageModal.tsx
Normal 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>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue