UNPKG

@sendbird/uikit-react-native

Version:

Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

18 lines 841 B
import React from 'react'; import { NOOP } from '@sendbird/uikit-utils'; import { createGroupChannelNotificationsModule } from '../domain/groupChannelNotifications'; const createGroupChannelNotificationsFragment = initModule => { const GroupChannelNotificationsModule = createGroupChannelNotificationsModule(initModule); return ({ onPressHeaderLeft = NOOP, channel }) => { return /*#__PURE__*/React.createElement(GroupChannelNotificationsModule.Provider, { channel: channel }, /*#__PURE__*/React.createElement(GroupChannelNotificationsModule.Header, { onPressHeaderLeft: onPressHeaderLeft }), /*#__PURE__*/React.createElement(GroupChannelNotificationsModule.View, null)); }; }; export default createGroupChannelNotificationsFragment; //# sourceMappingURL=createGroupChannelNotificationsFragment.js.map