mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Adds message forwarding
This commit is contained in:
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>
|
||||
);
|
||||
Reference in New Issue
Block a user