回答編集履歴

1

書式の改善

2020/04/08 06:53

投稿

hoshi-takanori
hoshi-takanori

スコア7901

test CHANGED
@@ -20,11 +20,11 @@
20
20
 
21
21
  ```
22
22
 
23
- <List key={0} todo='aaa' index={0} /> <!-- state: active = false -->
23
+ <List key={0} todo='aaa' index={0} /> <!-- state = { active: false } -->
24
24
 
25
- <List key={1} todo='bbb' index={1} /> <!-- state: active = true -->
25
+ <List key={1} todo='bbb' index={1} /> <!-- state = { active: true } -->
26
26
 
27
- <List key={2} todo='ccc' index={2} /> <!-- state: active = false -->
27
+ <List key={2} todo='ccc' index={2} /> <!-- state = { active: false } -->
28
28
 
29
29
  ```
30
30
 
@@ -36,9 +36,9 @@
36
36
 
37
37
  ```
38
38
 
39
- <List key={0} todo='bbb' index={0} /> <!-- state: active = false -->
39
+ <List key={0} todo='bbb' index={0} /> <!-- state = { active: false } -->
40
40
 
41
- <List key={1} todo='ccc' index={1} /> <!-- state: active = true -->
41
+ <List key={1} todo='ccc' index={1} /> <!-- state = { active: true } -->
42
42
 
43
43
  ```
44
44