import { Accordion, Button, FieldGroup, Paragraph } from '@rocket.chat/fuselage'; import React from 'react'; import { useTranslation } from '../../providers/TranslationProvider'; import { useSection } from './SectionState'; import { Setting } from './Setting'; import { SettingState } from './SettingState'; export function Section({ children, hasReset = true, help, solo }) { const section = useSection(); const t = useTranslation(); const handleResetSectionClick = () => { section.reset(); }; return {help && {help}} {section.settings.map((setting) => )} {hasReset && section.canReset &&