質問編集履歴
1
renderメソッドを記述追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,6 +66,24 @@
|
|
66
66
|
|
67
67
|
}
|
68
68
|
|
69
|
+
render() {
|
70
|
+
|
71
|
+
return (
|
72
|
+
|
73
|
+
<div className="App">
|
74
|
+
|
75
|
+
<Child
|
76
|
+
|
77
|
+
function={this.state.function}
|
78
|
+
|
79
|
+
/>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
|
83
|
+
);
|
84
|
+
|
85
|
+
}
|
86
|
+
|
69
87
|
}
|
70
88
|
|
71
89
|
```
|
@@ -80,19 +98,19 @@
|
|
80
98
|
|
81
99
|
<Button
|
82
100
|
|
83
|
-
function={props.func
|
101
|
+
function={props.function.getAllItems}
|
84
102
|
|
85
103
|
/>
|
86
104
|
|
87
105
|
<Button
|
88
106
|
|
89
|
-
function={props.func
|
107
|
+
function={props.function.itemsSearch}
|
90
108
|
|
91
109
|
/>
|
92
110
|
|
93
111
|
<Button
|
94
112
|
|
95
|
-
function={props.func
|
113
|
+
function={props.function.itemDelete}
|
96
114
|
|
97
115
|
/>
|
98
116
|
|