import { Accordion, Box, Button, FieldGroup, Paragraph, Skeleton } from '@rocket.chat/fuselage'; import React from 'react'; import { useTranslation } from '../../../contexts/TranslationContext'; import { Setting } from './Setting'; import { useSection, useSectionChangedState } from './SettingsState'; export function Section({ children, groupId, hasReset = true, help, sectionName, solo }) { const section = useSection(groupId, sectionName); const changed = useSectionChangedState(groupId, sectionName); const t = useTranslation(); const handleResetSectionClick = () => { section.reset(); }; return {help && {help} } {section.settings.map((settingId) => )} {hasReset && section.canReset &&