mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-26 07:49:18 +00:00
Update prettier and reformat code
This commit is contained in:
@@ -17,21 +17,19 @@ export default function Example(props) {
|
||||
{props.title}
|
||||
</Text>
|
||||
</View>
|
||||
<View style={styles.container}>
|
||||
{props.children}
|
||||
</View>
|
||||
<View style={styles.container}>{props.children}</View>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
root: {
|
||||
height: '100vh',
|
||||
height: '100vh'
|
||||
},
|
||||
header: {
|
||||
paddingVertical: '1em',
|
||||
borderBottomColor: '#ccc',
|
||||
borderBottomWidth: 1,
|
||||
borderBottomWidth: 1
|
||||
},
|
||||
title: {
|
||||
fontSize: 18,
|
||||
@@ -46,7 +44,7 @@ const styles = StyleSheet.create({
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: 40,
|
||||
alignItems: 'center',
|
||||
alignItems: 'center'
|
||||
},
|
||||
container: {
|
||||
alignItems: 'center',
|
||||
|
||||
Reference in New Issue
Block a user