質問編集履歴
2
あ
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
現在React-Nativeの写経
|
2
|
-
をしているのですが、下記の</View>の下の行でエラーが出ます。
|
2
|
+
をしているのですが、下記の</View>の2個下の行でエラーが出ます。
|
3
3
|
|
4
4
|
教材はES5で紹介されているのですが、react-native自体はes6をサポートしているので調べつつes6で書いているのですが、どのように変更すればOKなのか分からないため教えていただけると助かります。
|
5
5
|
|
1
m
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,10 +8,10 @@
|
|
8
8
|
render() {
|
9
9
|
return (
|
10
10
|
<View style={styles.container}>
|
11
|
-
|
11
|
+
<Text>
|
12
|
-
|
12
|
+
Days of the week:
|
13
13
|
</Text>
|
14
|
-
|
14
|
+
{this.days()}
|
15
15
|
</View>
|
16
16
|
);
|
17
17
|
},
|