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.

19 lines 866 B
import React from 'react'; import { NOOP } from '@sendbird/uikit-utils'; import { createGroupChannelNotificationsModule } from '../domain/groupChannelNotifications'; const createGroupChannelNotificationsFragment = initModule => { const GroupChannelNotificationsModule = createGroupChannelNotificationsModule(initModule); return _ref => { let { onPressHeaderLeft = NOOP, channel } = _ref; 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