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
+22 -22
View File
@@ -2,33 +2,33 @@ import React, { FunctionComponent, ReactNode } from 'react';
import { View, Text, StyleSheet } from 'react-native';
const styles = StyleSheet.create({
line: {
flex: 1,
height: 2,
backgroundColor: 'white',
},
container: {
width: '100%',
flexDirection: 'row',
alignItems: 'center',
marginVertical: 20,
},
text: {
color: 'white',
paddingHorizontal: 16,
},
line: {
flex: 1,
height: 2,
backgroundColor: 'white',
},
container: {
width: '100%',
flexDirection: 'row',
alignItems: 'center',
marginVertical: 20,
},
text: {
color: 'white',
paddingHorizontal: 16,
},
});
interface SeparatorBaseProps {
children: ReactNode;
children: ReactNode;
}
const SeparatorBase: FunctionComponent<SeparatorBaseProps> = ({children}) => (
<View style={styles.container}>
<View style={styles.line} />
<Text style={styles.text}>{children}</Text>
<View style={styles.line} />
</View>
const SeparatorBase: FunctionComponent<SeparatorBaseProps> = ({ children }) => (
<View style={styles.container}>
<View style={styles.line} />
<Text style={styles.text}>{children}</Text>
<View style={styles.line} />
</View>
);
export default SeparatorBase;