質問編集履歴
1
現状のソースコード
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,3 +15,91 @@
|
|
15
15
|
ご教授いただければ大変助かります。
|
16
16
|
|
17
17
|
よろしくお願いします。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
現在、配列を表示するコンポーネントをこのように記述しております。。。!
|
24
|
+
|
25
|
+
```react.js
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
import React, { Component } from 'react';
|
32
|
+
|
33
|
+
/* Styleguide Application */
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
class Main extends React.Component {
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
render() {
|
42
|
+
|
43
|
+
return (
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<div className="small-9 large-10 columns padding-top-3 result-wrap">
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<div className="row">
|
52
|
+
|
53
|
+
<div className="margin-bottom-1 small-12 medium-12 large-12 columns title-wrap">
|
54
|
+
|
55
|
+
<i className="fas fa-search"></i><h3 className="title">Search Results</h3>
|
56
|
+
|
57
|
+
</div>
|
58
|
+
|
59
|
+
</div>
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
<div className="row">
|
64
|
+
|
65
|
+
<div className="margin-bottom-4 small-6 medium-4 large-2 columns card-wrap">
|
66
|
+
|
67
|
+
<a href="result.html">
|
68
|
+
|
69
|
+
<div className="radius bordered shadow card">
|
70
|
+
|
71
|
+
<img src="https://placehold.jp/50x50.png" />
|
72
|
+
|
73
|
+
<div className="card-section">
|
74
|
+
|
75
|
+
<h4>This is a card.</h4>
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</a>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
);
|
94
|
+
|
95
|
+
}
|
96
|
+
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
export default Main;
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
```
|