create-expo-stack 2.18.6-next.4a27460 → 2.18.6-next.ed218ec
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { StyleSheet,
|
|
1
|
+
import { StyleSheet, View } from 'react-native';
|
|
2
|
+
|
|
3
|
+
import { Text } from '~/components/nativewindui/Text';
|
|
2
4
|
|
|
3
5
|
<% if (props.internalizationPackage?.name === "i18next") { %>
|
|
4
6
|
import { useTranslation } from 'react-i18next';
|
|
@@ -15,11 +17,15 @@ export default function EditScreenInfo({ path }: { path: string }) {
|
|
|
15
17
|
<% } %>
|
|
16
18
|
return (
|
|
17
19
|
<View style={styles.getStartedContainer}>
|
|
18
|
-
<Text
|
|
20
|
+
<Text variant="heading" className="text-center">
|
|
21
|
+
{title}
|
|
22
|
+
</Text>
|
|
19
23
|
<View style={[styles.codeHighlightContainer, styles.homeScreenFilename]}>
|
|
20
24
|
<Text>{path}</Text>
|
|
21
25
|
</View>
|
|
22
|
-
<Text
|
|
26
|
+
<Text variant="body" className="text-center">
|
|
27
|
+
{description}
|
|
28
|
+
</Text>
|
|
23
29
|
</View>
|
|
24
30
|
);
|
|
25
31
|
}
|
|
@@ -33,11 +39,6 @@ const styles = StyleSheet.create({
|
|
|
33
39
|
alignItems: 'center',
|
|
34
40
|
marginHorizontal: 50,
|
|
35
41
|
},
|
|
36
|
-
getStartedText: {
|
|
37
|
-
fontSize: 17,
|
|
38
|
-
lineHeight: 24,
|
|
39
|
-
textAlign: 'center',
|
|
40
|
-
},
|
|
41
42
|
helpContainer: {
|
|
42
43
|
alignItems: 'center',
|
|
43
44
|
marginHorizontal: 20,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { StyleSheet,
|
|
1
|
+
import { StyleSheet, View } from 'react-native';
|
|
2
|
+
|
|
3
|
+
import { Text } from '~/components/nativewindui/Text';
|
|
2
4
|
|
|
3
5
|
import EditScreenInfo from './EditScreenInfo';
|
|
4
6
|
|
|
@@ -11,7 +13,9 @@ type ScreenContentProps = {
|
|
|
11
13
|
export const ScreenContent = ({ title, path, children }: ScreenContentProps) => {
|
|
12
14
|
return (
|
|
13
15
|
<View style={styles.container}>
|
|
14
|
-
<Text
|
|
16
|
+
<Text variant="title1" className="text-center">
|
|
17
|
+
{title}
|
|
18
|
+
</Text>
|
|
15
19
|
<View style={styles.separator} />
|
|
16
20
|
<EditScreenInfo path={path} />
|
|
17
21
|
{children}
|
|
@@ -31,8 +35,4 @@ const styles = StyleSheet.create({
|
|
|
31
35
|
marginVertical: 30,
|
|
32
36
|
width: '80%',
|
|
33
37
|
},
|
|
34
|
-
title: {
|
|
35
|
-
fontSize: 20,
|
|
36
|
-
fontWeight: 'bold',
|
|
37
|
-
},
|
|
38
38
|
});
|