This commit is contained in:
2025-11-18 13:47:43 +01:00
parent 0c37ef5578
commit ea6e42175a
2 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -6,6 +6,7 @@ import React, {
useState,
} from 'react';
import PanelHeader from '../ui/PanelHeader';
import { CloseIcon } from '../ui/icons';
import { DEFAULT_SETTINGS_SECTIONS } from './sections';
export interface SettingsSectionConfig {
@@ -91,8 +92,8 @@ const SettingsModal: React.FC<SettingsModalProps> = ({
titleTag="h3"
titleProps={{ id: 'settings-modal-title' }}
actions={(
<button type="button" className="secondary" onClick={onClose}>
Close
<button type="button" className="icon-button" onClick={onClose} aria-label="Close">
<CloseIcon size={16} />
</button>
)}
/>