1 import Icon from '@proton/components/components/icon/Icon';
2 import SettingsParagraph from '@proton/components/containers/account/SettingsParagraph';
3 import SettingsSection from '@proton/components/containers/account/SettingsSection';
4 import SettingsSectionTitle from '@proton/components/containers/account/SettingsSectionTitle';
6 import type { PlanConfigStorage } from './interface';
8 const ReminderSectionStorage = ({ title, description, warning }: PlanConfigStorage) => {
10 <SettingsSection className="container-section-sticky-section mb-0">
11 <SettingsSectionTitle>{title}</SettingsSectionTitle>
12 <SettingsParagraph className="mb-6">{description}</SettingsParagraph>
13 <SettingsParagraph className="mb-6">
15 className="rounded p-2 flex flex-nowrap gap-2"
16 style={{ backgroundColor: 'var(--signal-danger-minor-1)' }}
18 <Icon name="exclamation-circle-filled" className="shrink-0 mt-0.5 color-danger" />
19 <span className="flex-1">{warning}</span>
26 export default ReminderSectionStorage;