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.

22 lines 748 B
import React, { useContext } from 'react'; import { Icon, useHeaderStyle } from '@sendbird/uikit-react-native-foundation'; import { OpenChannelMutedParticipantsContexts } from '../module/moduleContext'; const OpenChannelMutedParticipantsHeader = ({ onPressHeaderLeft }) => { const { headerTitle } = useContext(OpenChannelMutedParticipantsContexts.Fragment); const { HeaderComponent } = useHeaderStyle(); return /*#__PURE__*/React.createElement(HeaderComponent, { title: headerTitle, left: /*#__PURE__*/React.createElement(Icon, { icon: 'arrow-left' }), onPressLeft: onPressHeaderLeft }); }; export default OpenChannelMutedParticipantsHeader; //# sourceMappingURL=OpenChannelMutedParticipantsHeader.js.map