diff --git a/src/components/General/SubTitle.tsx b/src/components/General/SubTitle.tsx deleted file mode 100644 index 7eea219d..00000000 --- a/src/components/General/SubTitle.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { Text } from '@status-im/components' - -type SubTitleProps = { - color?: string - children: string -} - -const SubTitle = ({ color, children }: SubTitleProps) => { - return ( - - {children} - - ) -} - -export default SubTitle diff --git a/src/components/General/Title.tsx b/src/components/General/Title.tsx deleted file mode 100644 index 925e590b..00000000 --- a/src/components/General/Title.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { Text } from '@status-im/components' - -type TitleProps = { - color?: string - children: string -} - -const Title = ({ color, children }: TitleProps) => { - return ( - - {children} - - ) -} - -export default Title diff --git a/src/components/General/Titles.tsx b/src/components/General/Titles.tsx index c9105389..a8ab315e 100644 --- a/src/components/General/Titles.tsx +++ b/src/components/General/Titles.tsx @@ -1,6 +1,5 @@ import { XStack, YStack } from 'tamagui' import { Button, Text } from '@status-im/components' -import Title from './Title' import { RevealIcon } from '@status-im/icons' type TitlesProps = { @@ -13,16 +12,16 @@ const Titles = ({ title, subtitle, isAdvancedSettings }: TitlesProps) => { return ( - {title} + + {title} + {isAdvancedSettings && ( )} - - {subtitle} - + {subtitle} ) }