signal-desktop/ts/state/roots/createConversationNotificationsSettings.tsx
2021-10-26 14:15:33 -05:00

19 lines
591 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 type { Store } from 'redux';
import type { OwnProps } from '../smart/ConversationNotificationsSettings';
import { SmartConversationNotificationsSettings } from '../smart/ConversationNotificationsSettings';
export const createConversationNotificationsSettings = (
store: Store,
props: OwnProps
): React.ReactElement => (
<Provider store={store}>
<SmartConversationNotificationsSettings {...props} />
</Provider>
);