Fixing error prettier redesign CI

This commit is contained in:
mathysPaul
2023-09-19 17:36:19 +02:00
parent 073ff033f3
commit 1abfbf391f
22 changed files with 986 additions and 778 deletions
+10 -10
View File
@@ -2,22 +2,22 @@ import React, { ReactNode, FunctionComponent } from 'react';
import { TouchableOpacity, Text, StyleSheet } from 'react-native';
const styles = StyleSheet.create({
linkText: {
textDecorationLine: 'underline',
color: '#A3AFFC',
fontWeight: '700',
},
linkText: {
textDecorationLine: 'underline',
color: '#A3AFFC',
fontWeight: '700',
},
});
interface LinkBaseProps {
children: ReactNode;
onPress: () => void;
children: ReactNode;
onPress: () => void;
}
const LinkBase: FunctionComponent<LinkBaseProps> = ({ children, onPress }) => (
<TouchableOpacity onPress={onPress}>
<Text style={styles.linkText}>{children}</Text>
</TouchableOpacity>
<TouchableOpacity onPress={onPress}>
<Text style={styles.linkText}>{children}</Text>
</TouchableOpacity>
);
export default LinkBase;