回答編集履歴
1
jsx
test
CHANGED
@@ -4,6 +4,26 @@
|
|
4
4
|
|
5
5
|
```js
|
6
6
|
|
7
|
+
return (
|
8
|
+
|
9
|
+
<>
|
10
|
+
|
11
|
+
<HeartFill
|
12
|
+
|
13
|
+
color={id ? 'red' : '#616161'}
|
14
|
+
|
15
|
+
size={25}
|
16
|
+
|
17
|
+
onClick={clicked}
|
18
|
+
|
19
|
+
/>
|
20
|
+
|
7
|
-
{count > -1 && count}
|
21
|
+
<p>{count > -1 && count}</p>
|
22
|
+
|
23
|
+
</>
|
24
|
+
|
25
|
+
);
|
26
|
+
|
27
|
+
|
8
28
|
|
9
29
|
```
|