signal-desktop/ts/state/roots/createConversationNotificationsSettings.tsx
2021-08-05 07:35:33 -05:00

21 lines
525 B
TypeScript

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react';
import { Provider } from 'react-redux';
import { Store } from 'redux';
import {
SmartConversationNotificationsSettings,
OwnProps,
} from '../smart/ConversationNotificationsSettings';
export const createConversationNotificationsSettings = (
store: Store,
props: OwnProps
): React.ReactElement => (
<Provider store={store}>
<SmartConversationNotificationsSettings {...props} />
</Provider>
);