teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

2016/08/05 08:20

投稿

randosel
randosel

スコア37

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

2016/08/05 08:20

投稿

randosel
randosel

スコア37

title CHANGED
File without changes
body CHANGED
@@ -8,10 +8,10 @@
8
8
  render() {
9
9
  return (
10
10
  <View style={styles.container}>
11
- <Text>
11
+ <Text>
12
- Days of the week:
12
+ Days of the week:
13
13
  </Text>
14
- {this.days()}
14
+ {this.days()}
15
15
  </View>
16
16
  );
17
17
  },