buttons
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user