@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.
23 lines • 754 B
JavaScript
import React, { useContext } from 'react';
import { Icon, useHeaderStyle } from '@sendbird/uikit-react-native-foundation';
import { GroupChannelNotificationsContexts } from '../module/moduleContext';
const GroupChannelNotificationsHeader = _ref => {
let {
onPressHeaderLeft
} = _ref;
const {
headerTitle
} = useContext(GroupChannelNotificationsContexts.Fragment);
const {
HeaderComponent
} = useHeaderStyle();
return /*#__PURE__*/React.createElement(HeaderComponent, {
title: headerTitle,
left: /*#__PURE__*/React.createElement(Icon, {
icon: 'arrow-left'
}),
onPressLeft: onPressHeaderLeft
});
};
export default GroupChannelNotificationsHeader;
//# sourceMappingURL=GroupChannelNotificationsHeader.js.map