Remove unused libraries

This commit is contained in:
abhay-raizada
2024-08-11 18:10:54 +05:30
parent 2f0c7ddadb
commit 4de8f3112f
9 changed files with 64 additions and 1017 deletions

View File

@@ -0,0 +1,17 @@
import {PropsWithChildren} from 'react';
import {Dimensions, StyleSheet, Text, View} from 'react-native';
import {Colors} from 'react-native/Libraries/NewAppScreen';
import {styles} from './styles';
type SectionProps = PropsWithChildren<{
title: string;
}>;
export function Section({children, title}: SectionProps): React.JSX.Element {
return (
<View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>{title}</Text>
<Text style={[styles.sectionDescription]}>{children}</Text>
</View>
);
}

View File

@@ -0,0 +1,39 @@
import {Dimensions, StyleSheet} from 'react-native';
import {Colors} from 'react-native/Libraries/NewAppScreen';
export const styles = StyleSheet.create({
input: {
height: 40,
margin: 12,
borderWidth: 1,
borderBottomColor: 'white',
padding: 10,
color: Colors.white,
},
sectionContainer: {
marginTop: 32,
paddingHorizontal: 24,
width: Dimensions.get('window').width - 80,
color: Colors.white,
},
sectionTitle: {
fontSize: 24,
fontWeight: '600',
color: Colors.white,
},
sectionDescription: {
marginTop: 8,
fontSize: 18,
fontWeight: '400',
color: Colors.white,
},
highlight: {
fontWeight: '500',
},
});
export const TextTheme = [
{
color: Colors.white,
},
];