import { h } from 'preact'; import PropTypes from 'prop-types'; import ModSection from './ModSection'; import PersonalSettings from './PersonalSetting'; import LeaveMembershipSection from './LeaveMembershipSection'; import ModFaqSection from './ModFaqSection'; import ChannelDescriptionSection from './ChannelDescriptionSection'; import ChatChannelMembershipSection from './ChatChannelMembershipSection'; const ChatChannelSettingsSection = ({ channelDiscoverable, updateCurrentMembershipNotificationSettings, handleleaveChannelMembership, handlePersonChannelSetting, handleChannelDescriptionChanges, handleChannelDiscoverableStatus, handleDescriptionChange, handleChannelInvitations, handleInvitationUsernames, toggleScreens, removeMembership, chatChannelAcceptMembership, channelDescription, chatChannel, currentMembership, activeMemberships, pendingMemberships, requestedMemberships, invitationUsernames, showGlobalBadgeNotification, }) => (
); ChatChannelSettingsSection.propTypes = { chatChannel: PropTypes.isRequired, currentMembership: PropTypes.isRequired, activeMemberships: PropTypes.isRequired, pendingMemberships: PropTypes.isRequired, requestedMemberships: PropTypes.isRequired, invitationUsernames: PropTypes.string.isRequired, channelDescription: PropTypes.string.isRequired, channelDiscoverable: PropTypes.bool.isRequired, showGlobalBadgeNotification: PropTypes.bool.isRequired, handleleaveChannelMembership: PropTypes.func.isRequired, chatChannelAcceptMembership: PropTypes.func.isRequired, removeMembership: PropTypes.func.isRequired, toggleScreens: PropTypes.func.isRequired, handleInvitationUsernames: PropTypes.func.isRequired, handleChannelInvitations: PropTypes.func.isRequired, handleDescriptionChange: PropTypes.func.isRequired, handleChannelDiscoverableStatus: PropTypes.func.isRequired, handleChannelDescriptionChanges: PropTypes.func.isRequired, handlePersonChannelSetting: PropTypes.func.isRequired, updateCurrentMembershipNotificationSettings: PropTypes.func.isRequired, }; export default ChatChannelSettingsSection;