diff --git a/src/components/General/Titles.tsx b/src/components/General/Titles.tsx index a8ab315e..80ff9ef4 100644 --- a/src/components/General/Titles.tsx +++ b/src/components/General/Titles.tsx @@ -6,13 +6,21 @@ type TitlesProps = { title: string subtitle: string isAdvancedSettings?: boolean + titleSize?: 27 | 15 | 11 | 13 | 19 + subtitleSize?: 27 | 15 | 11 | 13 | 19 } -const Titles = ({ title, subtitle, isAdvancedSettings }: TitlesProps) => { +const Titles = ({ + title, + subtitle, + isAdvancedSettings, + titleSize = 27, + subtitleSize = 15, +}: TitlesProps) => { return ( - + {title} {isAdvancedSettings && ( @@ -21,7 +29,7 @@ const Titles = ({ title, subtitle, isAdvancedSettings }: TitlesProps) => { )} - {subtitle} + {subtitle} ) }