From 5cecd41aa070bcc8e79d1dc84d79f03406a72c16 Mon Sep 17 00:00:00 2001 From: sunduckcow Date: Tue, 26 Sep 2023 13:38:29 +0300 Subject: [PATCH] feat: added exports for settings props --- src/components/Settings/Settings.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index 0171ccb..15ee759 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -17,7 +17,7 @@ import './Settings.scss'; const b = block('settings'); -interface SettingsProps { +export interface SettingsProps { children: React.ReactNode; title?: string; filterPlaceholder?: string; @@ -31,20 +31,20 @@ interface SettingsProps { onClose?: () => void; } -interface SettingsGroupProps { +export interface SettingsGroupProps { id?: string; groupTitle: string; children: React.ReactNode; } -interface SettingsPageProps { +export interface SettingsPageProps { id?: string; title: string; icon?: IconProps; children: React.ReactNode; } -interface SettingsSectionProps { +export interface SettingsSectionProps { title: string; header?: React.ReactNode; children: React.ReactNode; @@ -52,7 +52,7 @@ interface SettingsSectionProps { showTitle?: boolean; } -interface SettingsItemProps { +export interface SettingsItemProps { title: string; renderTitleComponent?: (highlightedTitle: React.ReactNode | null) => React.ReactNode; align?: 'top' | 'center';